Skip to content

How to show .png file and use the SD Card #459

Closed Answered by adorobis
wilwizard1979 asked this question in Q&A
Discussion options

You must be logged in to vote

Check below comments from documentation. Your image might be too large, you might not have the PSram or the png is not in a correct format:

Either PNG or BIN image files are supported, from flash:
PNG image are decoded and kept in memory, thus you'll be able to display full-screen images only if your microcontroller has installed PSram memory, else you will be limited to small icons or BIN files.
BIN images are not stored in memory and are read from flash each time. This will be slower but allows the use of larger images even if your microcontroller doesn't have PSram.
BIN images from flash do not support zoom or angle transformations.
Use the online LVGL Image Converter to create BIN fil…

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
1 reply
@stovedoctor
Comment options

Answer selected by wilwizard1979
Comment options

You must be logged in to vote
8 replies
@wilwizard1979
Comment options

@fvanroie
Comment options

@wilwizard1979
Comment options

@elik745i
Comment options

@ouchkilljoys
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants