I'm trying to decode flash memory resident JPEG files of different dimensions in my PE-HMI1 board and I found that both the files address and the destination should be 8 byte aligned. I also found that apparently the dimensions of the image should be multiples of 8 pixels and that, in RGB565 format, the images must have at least 32 lines, but I'm not sure of any of these restrictions besides the alignment so, please, is there any user manual of the JPEG decoder that explains in detail what are the exact restrictions of an image? I need it because I'm writing an application that will make extensive use of icons stored internally as individual JPEG files and I need to know what are the dimensions I can use. I don't want to change my approach and use tile files because this implies two problematic actions for the end user: building the tile file and knowing the exact position of every "sprite" inside the file.
↧