128*64 OLED GIF to Array

作者:解林磊

这个工具基于 image2cpp 的思路重新设计,专门用于 128x64 单色 OLED。选择 GIF 后会在浏览器本地拆分每一帧,并把每帧转换成 Arduino/C 的 uint8_t 位图数组。

1. Select GIF image

所有处理都在你的浏览器本地完成,文件不会上传。

拖放 GIF 到这里

or

1. Paste byte array

x px

读取后的图像会显示在预览区域。

2. Image Settings

x px waiting for image

0 - 255;高于该亮度的像素变为白色,否则变为黑色。

degrees

3. Preview

还没有加载图片。

4. Output

输出格式:const uint8_t bitmap_第几帧[] = { 0x.. };

OLED display code

ms

用于生成每一帧后面的 Delay(数字);