Click here to Skip to main content
15,944,828 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am working on a project that required to read JPEG image in the SD card and display it to the LCD (using 32 bit PIC microcontroller). I am able to read the BMP image based on the Byte[] and plot to LCD pixel by pixel. However, how can we decode the JPEG image to pixel based on its Byte[]?
enhzflep 30-Dec-14 4:00am    
Probably worth starting here: Microchip Forums>JPEG Decoding
Eddy Chin 5-Jan-15 3:38am    
I read through the information there. Unfortunately, my code still not working well.

1 solution

Use libjpeg.[^]

It will likely take some effort to compile for the PIC.
Share this answer
Eddy Chin 5-Jan-15 3:34am    
I found another similar lib (picojpeg) which is quite similar to libjpeg.
However, there are example of the source code that adopted picojpeg to PIC32 environment.
After perform some modification, It is working...
Thanks for the suggestion.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900