2020-10-14 11:23 AM
2020-10-14 01:10 PM
RLE = run length encoding is a technology for lossless (image) compression. So you should decompress an JPEG image first. You find the Microsoft variant of RLE described here: https://docs.microsoft.com/en-us/windows/win32/gdi/bitmap-compression. Its quite old and the internet is full of implementations.
Because JPEG is a lossy compression, a decompressed JPEG will show slight variations of color values and is therefore not a good input to RLE which needs runs of identical color values for efficient compression.
RLE is a general principle, there is also a kind of RLE used wihtin JPEG. The classic introduction to JPEG technology is http://ijg.org/files/Wallace.JPEG.pdf
2020-10-15 01:59 AM
Thank you for support,
can you please share any sample code for displaying a jpg image on LCD with STM32 support.
2020-10-15 02:09 AM
You didn't specify your HW + SW but here is an example from STM: https://github.com/STMicroelectronics/STM32CubeF7/tree/master/Projects/STM32746G-Discovery/Applications/LibJPEG/LibJPEG_Decoding
You find more if you search the STM firmware libs.