PIC32中用于C的JPEG到BMP转换 [英] JPEG to BMP conversion in C for PIC32

查看:96
本文介绍了PIC32中用于C的JPEG到BMP转换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个项目,需要读取SD卡中的JPEG图像并将其显示在LCD上(使用32位PIC单片机)。我能够根据Byte []读取BMP图像并逐个像素地绘制LCD。但是,如何根据Byte []将JPEG图像解码为像素?
谢谢。

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[]?
Thanks.

推荐答案

使用libjpeg。



http://libjpeg.sourceforge.net/ [ ^ ]



可能需要为PIC编译的一些努力。
Use libjpeg.

http://libjpeg.sourceforge.net/[^]

It will likely take some effort to compile for the PIC.


这篇关于PIC32中用于C的JPEG到BMP转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆