You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Export a bmp image from gimp (exporting with 24 bits seems to offset horizontally the image like in my case, using any 32 bits format seems to taint output.bmp in red or aqua on top of that)
Run the above script
The text was updated successfully, but these errors were encountered:
In Gimp when exporting open the Compatibility Options and make sure to check the Do not write color space information checkbox. That should fix the offset.
bmp-js doesn't deal with the ICC color profile in the header
( on the left side of the image there is the extra color space information, which is missing from the right side )
This issue only occures with Gimp exports as Gimp is the only program that adds the BITMAPV5HEADER to the file according to wikipedia
Hi, I realized that bmp-js doesn't seem to handle correctly any bmp generated by Gimp.
Top: input.bmp, Bottom: output.bmp
Steps to reproduce:
output.bmp
in red or aqua on top of that)The text was updated successfully, but these errors were encountered: