-
Notifications
You must be signed in to change notification settings - Fork 771
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
imagegen tool 不支持本身是RGB565 bmp格式的转变为 .data文件 #10
Comments
谢谢,今天我在移植AWTK到STM32F767上,明天上午我看看。 |
好的,辛苦了,不知道为什么通过imagegen tool转换后颜色失真会这么严重,在电脑上用Image2Lcd 转换565的效果还行。 |
这是个STB图片库不支持的压缩的BMP文件,我转成png或jpg格式没有问题,你转成png或jpg吧。 thread #1: tid = 0xa4c78, 0x000000010000184a image_info`stbi__err(str="bad BMP") + 10 at stb_image.h:844, queue = 'com.apple.main-thread', stop reason = breakpoint 3.1
|
好的,多谢回复 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
imagegen tool 不支持RGB565 bmp格式图片的转变为 .data文件,提示image_loader_stb_load:84 data != NULL 的错误。
如果直接使用 imagegen tool 转变 RGBA8888格式的图片为 RGB565格式的 .data文件,是可以正确产生文件,但是会出现颜色严重失真的问题。
不能转变的RGB565 bmp文件 下载地址 链接:https://pan.baidu.com/s/1u_rXB80tyecGxGG1gZCiLQ 密码:e8ua
The text was updated successfully, but these errors were encountered: