Skip to content
This repository has been archived by the owner on Oct 19, 2021. It is now read-only.

Problem with image converter #11

Closed
Polarisru opened this issue Sep 28, 2018 · 2 comments
Closed

Problem with image converter #11

Polarisru opened this issue Sep 28, 2018 · 2 comments
Labels

Comments

@Polarisru
Copy link

Hello,
I have just tried the image converter to get a logo picture with a lot of white background and was very disappointed, the generated c array was wrong. I have tried different image formats (png, bmp) from different software tools (Paint.net, XNView) but without success. As I mentioned, the picture has a lot of white background, but the generated array was full of
0x05, 0x00, 0x05, 0x00, 0x05, 0x00, 0x05, 0x00, 0x05, 0x00, ...
I have used 16 bit color depth, so it seems more to be black. And it was also displayed as a black rectangle.
I have tried to put some 0xff, 0xff to the generated array and got the right result - white color for the corrected area.
Probably it is something wrong with the converter. I have taken a look at the source code, may be it cann't convert bitmaps with 32 bits color encoding? Just guessing.

@kisvegabor
Copy link
Member

Hi,

Please attach an image which was not working.

@stale
Copy link

stale bot commented Feb 21, 2019

This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Feb 21, 2019
@stale stale bot closed this as completed Feb 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants