You can reduce the size and complexity of the showBMP examples.
- only support 24-bit BMP. Most libraries supply 24-bit BMP examples.
- only have one BMP file on your SD
If all your BMPs are the same size and shape, you can convert your BMP files to RAW files with a PC program. Rendering a 240x320 RAW image from your SD on the TFT is very simple code.
All the same, the SD library and MCUFRIEND_kbv library are fairly big. So you need to be careful when using a 31.5kB Uno. e.g. avoid String operations. avoid floating point maths. avoid multiple Fonts.
In practice, it is easier to draw graphics from scratch. e.g. filled rectangle, circle, lines, ...
and it uses less code than using the SD library.
David.