Skip to content

How to save JPG file to array for reuse #989

Discussion options

You must be logged in to vote

The header comments here tell you how to convert a file into an array and then it can be kept in FLASH instead of SPIFFS.

Typically Jpeg files are highly compressed and most processors do not have the space to store large decompressed image arrays.

Another approach is to avoid an array and render the jpeg into a sprite, then save the meory block.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Bodmer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants