PNG's Alpha is mirrored in Y direction?

Anonymous
2003-03-18
2003-03-20
  • Anonymous - 2003-03-18

    It would appear that the Alpha channel of a PNG image is reversed in the vertical direction.

    When using ilOverlayImage(overImage, 0,0,0), the alpha mask is upside down in the resulting image.  Scaling the image before applying works as expected: the alpha is still upside down.

    This is using the WIn32 1.6.5
    My PNG images are  720x480, RGB with Alpha.
    Anyone else experiencing this?

    Thanks,

    Jamie.

     
    • Martin Slater

      Martin Slater - 2003-03-20

      Hi there,

      I'm just starting to get involved with the source here but don't have a much time to work on this but if you want to send me some test code and a test image i'll try and have a look this weekend.

      Martin

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks