Artemla Posted July 25, 2019 Report Share Posted July 25, 2019 Hello. I'm trying to display BMP RLE on my screen. I made image with GIMP using color indexing (Image->Mode->Indexed...). When maximum number of colors is greater than 150 - nothing showed on screen. gdispImageDraw() gives me error GDISP_IMAGE_ERR_BADFORMAT. ugfx does not support BMP RLE images with number of colors more than 150 or I'm doing something wrong? Thanks. Link to comment Share on other sites More sharing options...
inmarket Posted July 25, 2019 Report Share Posted July 25, 2019 My guess is that gimp is breaking something in the image format once it reaches 150 colors. Have a look through the header bytes of the image and compare that with the code. If you have a debugger that will make it easy to find exactly what ugfx thinks is wrong. If you get stuck, attach the image here and when we get time we will look for you. Note that this may take a while just because of our busy schedules. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now