Hi,
somehow, when loading a rgb bitmap with alpha channel and writing it back to bitmap the result is very blueish and the resulting bitmap has no alpha channel, seems as if the alpha channel is interpreted as blue somewhere.
I checked the bytes after creating, here everything seems correct, problem should be in the save procedure.
When trying to save to PNG, the resulting png has alpha, but is blueish as well.
Hope I find some more time to give more detailed description...
Greetings&Bye
somehow, when loading a rgb bitmap with alpha channel and writing it back to bitmap the result is very blueish and the resulting bitmap has no alpha channel, seems as if the alpha channel is interpreted as blue somewhere.
Code Select
img.CreateFromFile('rgb128alpha.bmp');
img.SaveToFile('out.bmp');
I checked the bytes after creating, here everything seems correct, problem should be in the save procedure.
When trying to save to PNG, the resulting png has alpha, but is blueish as well.
Hope I find some more time to give more detailed description...
Greetings&Bye