Hi,
I have an png image with a color profile.
The ImageGadget ignores the color profile.
How can I show this image correct in my my program?
Color Profile
Color Profile
macOS Catalina 10.15.7
Re: Color Profile
Does it make a difference if you don't use the PureBasic PNG decoder ?
It might be possible that the decoder that comes with OS X works better.
The LoadImageEx procedure in this thread http://www.purebasic.fr/english/viewtop ... 73#p392073 loads the image without the need for the PB decoder.
It might be possible that the decoder that comes with OS X works better.
The LoadImageEx procedure in this thread http://www.purebasic.fr/english/viewtop ... 73#p392073 loads the image without the need for the PB decoder.
Windows (x64)
Raspberry Pi OS (Arm64)
Raspberry Pi OS (Arm64)
Re: Color Profile
No, it looks same.
I think there must be a command for using color management.
Is you example code right?
I have to replace
with
otherwise I get a compiler error.
I think there must be a command for using color management.
Is you example code right?
I have to replace
Code: Select all
CreateImage(Image, Width, Height, 32 | #PB_Image_Transparent)Code: Select all
CreateImage(Image, Width, Height, 32 , #PB_Image_Transparent)macOS Catalina 10.15.7
Re: Color Profile
Thanks for mentioning the compiler error.
I changed the code now. The other syntax was the right way for a previous version of PB.
Maybe you can post a link to the image you have a problem with.
That way it is possible to see what is going wrong.
I changed the code now. The other syntax was the right way for a previous version of PB.
Maybe you can post a link to the image you have a problem with.
That way it is possible to see what is going wrong.
Windows (x64)
Raspberry Pi OS (Arm64)
Raspberry Pi OS (Arm64)

