Display BMP on ILI9341

For general Flowcode discussion that does not belong in the other sections.
Post Reply
unity-control
Posts: 54
http://meble-kuchenne.info.pl
Joined: Wed Sep 08, 2021 10:36 pm
Has thanked: 26 times
Been thanked: 11 times

Display BMP on ILI9341

Post by unity-control »

Hi there guys,

I'm trying without luck to display a bitmaps on an ILI9341 SPI LCD, just simulation at the moment. But doesn't seem to work at all.

I've tried different file formats without luck. Is there any way to have a look at the component to see if we can adapt it to take PNG files as they utilize much less space in ROM.

Thanks in advance,
R

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: Display BMP on ILI9341

Post by medelec35 »

Hello.
Have you tried downloading both Bitmap Drawer Files demos from here?
Martin

unity-control
Posts: 54
Joined: Wed Sep 08, 2021 10:36 pm
Has thanked: 26 times
Been thanked: 11 times

Re: Display BMP on ILI9341

Post by unity-control »

OK cheers, will have a check.

MJU20
Posts: 245
Joined: Tue Dec 08, 2020 5:11 pm
Has thanked: 75 times
Been thanked: 50 times

Re: Display BMP on ILI9341

Post by MJU20 »

Hey unity-control,

Did you get this working on a ILI9341 display?
Would you like to share an example?

Thanks!

BenR
Matrix Staff
Posts: 1739
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 440 times
Been thanked: 603 times

Re: Display BMP on ILI9341

Post by BenR »

Hello,

I've had a look at implementing PNG/GIF support and the file formats are reasonably easy to parse, the problem is the compression that is used to reduce the file size. Decompressing would take a fair amount of ROM and RAM and on a lot of embedded targets would actually eat up more resources then just using a bitmap. If your using a few files then it might start to make more sense.

I've made a start but I can't promise it will get finished anytime soon unless there is a real need for this.

A step in the right direction might be another component to perform the compression and decompression and then we can also potentially use it in other places.

MJU20
Posts: 245
Joined: Tue Dec 08, 2020 5:11 pm
Has thanked: 75 times
Been thanked: 50 times

Re: Display BMP on ILI9341

Post by MJU20 »

Sounds great!

But is there a simple example for a ILI9341 display that I can look (and learn) at (from)?

Post Reply