How to program atmega2560 r3 with 3,5"tft for multiple pictures

I opened your verbod1.png in IrfanView. It was reported as 480x480 x 8BPP (i.e. 256 colour palette)
If I save it as a BMP, IrfanView saves as a 256 colour palette BMP file. Bodmer does not support this particular BMP format.

If I convert it to 24bit colour (i.e. 16M colours) IrfanView will save as a regular 24-bit BMP.

Since your screen is 480x320 the BMP is not going to fit. But I suspect that the example sketch will still "work".

However it seems wiser to just scale it as a 320x320 x 24BPP image and save the BMP.

So you can see how important it is to attach the appropriate file.
Note that the Forum does not accept BMP files. So I have put them into a ZIP file.

Untested on real hardware. I am not going to dig out a suitable screen unless you provide quoted examples with accurately copy-pasted edit lines.

David.

verbod1.zip (19.2 KB)