Arduino TJpg_Decoder library
===========
This Arduino library supports the rendering of Jpeg files stored both on SD card and in arrays within program memory (FLASH) onto a TFT display. In addition images stored in the SPIFFS Flash filing system or "PROGMEM" arrays can be used with the ESP8266 and ESP32 processors.
The library works on the Arduino Due, ESP32 and ESP8266 (e.g. NodeMCU 1.0).
Jpeg files in the "Progressive" format (where image data is compressed in multiple passes with progressively higher detail) are not supported since this would require much more memory, or too many Inverse Discrete Cosine Transform's for typical embedded systems.
When storing the jpeg in a memory array bear in mind that some Arduino boards have a maximum 32767 byte limit for the maximum size of an array (32 KBytes minus 1 byte).
The decompression of Jpeg images needs more RAM than an UNO provides, thus this library is targetted at processors with more RAM. The library has been tested with ESP8266/ESP32 based boards.
On a Mega the number of images stored in FLASH must be limited because it they are large enough to push the executable code start over the 64K 16 bit address limit then the Mega will fail to boot even though the sketch compiles and uploads correctly. This is a limitation imposed by the Arduino environment not this library! The Arduino Mega is not recommended as it does not reliably decode some jpeg images possibly due to a shortage of RAM. The Due will work fine with much bigger image sets in FLASH.
This library uses the TJpgDec decompressor engine detailed here:
http://elm-chan.org/fsw/tjpgd/00index.html
TJpgDec is a generic JPEG image decompressor module that highly optimized for small embedded systems.
没有合适的资源?快使用搜索试试~ 我知道了~
TJpg_Decoder:基于Tiny JPEG Decompressor的Jpeg解码器库
共29个文件
h:8个
ino:7个
jpg:5个
需积分: 26 10 下载量 80 浏览量
2021-05-13
22:22:54
上传
评论 1
收藏 214KB ZIP 举报
温馨提示
Arduino TJpg_Decoder库 该Arduino库支持将存储在SD卡上以及程序存储器(FLASH)中的阵列中的Jpeg文件呈现到TFT显示器上。 此外,存储在SPIFFS Flash归档系统或“ PROGMEM”阵列中的图像可以与ESP8266和ESP32处理器一起使用。 该库适用于Arduino Due,ESP32和ESP8266(例如NodeMCU 1.0)。 不支持“渐进式”格式的Jpeg文件(其中,图像数据经过多次压缩以越来越高的细节进行压缩),因为这将需要更多的内存,或者对于典型的嵌入式系统而言,它需要太多的反离散余弦变换。 将jpeg存储在内存阵列中时,请记住,某些Arduino主板的最大阵列大小(32 KB减1字节)具有最大32767字节的限制。 Jpeg图像的解压缩需要比UNO提供的更多的RAM,因此,该库的目标对象是具有更多RAM的处理器。 该库已通过
资源推荐
资源详情
资源评论
收起资源包目录
TJpg_Decoder-master.zip (29个子文件)
TJpg_Decoder-master
.gitignore 315B
license.txt 3KB
README.md 2KB
library.properties 250B
examples
SPIFFS_Jpg
data
panda.jpg 12KB
SPIFFS_Jpg.ino 3KB
Flash_Jpg_GFX
panda.h 76KB
Flash_Jpg_GFX.ino 2KB
All_SPIFFS
Data
tiger.jpg 46KB
Baboon40.jpg 24KB
panda.jpg 12KB
All_SPIFFS.ino 5KB
Web_Jpg
Web_Fetch.h 2KB
List_SPIFFS.h 3KB
Web_Jpg.ino 3KB
Flash_Jpg
Flash_Jpg.ino 2KB
panda.h 76KB
ESP32_Dual_Core_Flash_Jpg
ESP32_Dual_Core_Flash_Jpg.ino 5KB
panda.h 76KB
SD_Jpg
SD_Jpg.ino 3KB
data
panda.jpg 12KB
.gitattributes 378B
library.json 457B
src
TJpg_Decoder.cpp 18KB
tjpgd.c 74KB
TJpg_Decoder.h 3KB
User_Config.h 417B
tjpgd.h 4KB
keywords.txt 569B
共 29 条
- 1
资源评论
清木一阳
- 粉丝: 28
- 资源: 4656
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- java制造业MES生产管理系统源码 MES源码数据库 MySQL源码类型 WebForm
- 基于无人机航拍数据实现的三维场景重建python源代码+文档说明+数据集(高分项目)
- 【重磅,更新!】全国2000-2022年植被指数数据(分辨率30m)
- 包含Qt5Core.dll Qt5Gui.dll Qt5Network.dll Qt5Svg.dll Qt5Widgets.dl
- python3.6 get-pip.py
- python期末大作业基于ResNet的人脸表情识别项目源码+数据集+模型文件(高分项目)
- C#大型多门店4S连锁汽车维修保养管理系统源码(带文档)数据库 SQL2008源码类型 WebForm
- 【安卓毕业设计】基于Android健康检测系统的设计与实现源码(完整前后端+mysql+说明文档).zip
- 【重磅,更新!】中国分省农户创业活动农户创业活跃度(2011-2021年)
- YOLOv5 PyTorch 格式注释番茄叶病检测数据集下载
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功