2015-11-09 04:00 AM
I use LibJpeg on board F7. I have a few questions.
In reference example used an image 240x320, but my display is 480x272. I changed for new picture and increased line_counter to 721, but get a white screen. It's first. And second, how to display images larger then screen size? For example 1920×1080.2015-11-09 04:38 AM
May be the library has some documentation?
The typical methods for displaying a fragment of a larger image, are to either decode the image to a larger buffer, and window that to the frame buffer, where you provide a method to scroll around, or decimate the image to fit. Or the library provides a means to extract a portion of the image based on an x/y offset and size, into a smaller buffer. If you have enough memory to hold the entire uncompressed image, that's likely to be the faster/efficient way of dealing with it.