Gimp-Forum.net
32 bit images, Alpha channel, API Win32. - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Installation and usage (https://www.gimp-forum.net/Forum-Installation-and-usage)
+---- Forum: Windows (https://www.gimp-forum.net/Forum-Windows)
+---- Thread: 32 bit images, Alpha channel, API Win32. (/Thread-32-bit-images-Alpha-channel-API-Win32)



32 bit images, Alpha channel, API Win32. - todmar - 10-10-2023

Exporting a .bmp file in 32 bit from Gimp: the image does not work on Windows. (LoadImage() call)
Load and save in other programs fixes the bug.
(such as Pixelformer)
The way GIMP does Color Alpha Transparent and Opaque is way cool.


RE: 32 bit images, Alpha channel, API Win32. - todmar - 10-10-2023

Hello again, what needs to be done is compare the .bmp files information to see what does not work.
What is a good information dump program for .bmp?
Thanks


RE: 32 bit images, Alpha channel, API Win32. - Ofnuts - 10-10-2023

(10-10-2023, 07:23 PM)todmar Wrote: Hello again, what needs to be done is compare the .bmp files information to see what does not work.
What is a good information dump program for .bmp?
Thanks

I would use a general hex browser and the BMP file format specs on Wikipedia (but these are somewhat proprietary, so Wikipedia may not tell the full story).


RE: 32 bit images, Alpha channel, API Win32. - rich2005 - 10-10-2023

(10-10-2023, 07:23 PM)todmar Wrote: Hello again, what needs to be done is compare the .bmp files information to see what does not work.
What is a good information dump program for .bmp?
Thanks

Someone might know if you give some information on "..does not work"  About the only option for your export are compatibility options and AFAIK 'do not write color info' is off by default. Is that true for your images ?

[attachment=10478]

As well as Ofnuts suggestion there is ImageMagick command line where magick identify -verbose filename.bmp gives some info such as background and transparency color.

[attachment=10479]