Author Topic: saving rgb with alpha channel to bitmap/png leads to blueish image  (Read 297 times)

Offline heju

  • Imaging User
  • *
  • Posts: 4
    • View Profile

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]

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...


Offline Galfar

  • Administrator
  • Imaging User
  • *****
  • Posts: 372
    • View Profile
    • Galfar's Homepage
Could you please upload your test BMP file here?