SDL_Image problem. Does not properly support Alpha under OSX

Under OSX, if you load a TIF that has a alpha channel. It will ignore the
color data if the image is completely transparent and consider the color
data to be 0,0,0. It only matter if you using the Alpha channel for
alternative data or toggling Alpha on and off.

Thank you for simplifying the loading of Image in SDL.---------- Forwarded message ----------
From: mrappard@gmail.com (Matthew Rappard)
Date: Jul 4, 2012 2:38 PM
Subject: SDL_Image problem. Does not properly support Alpha under OSX.
To:


Matthew Rappard
416-871-4564

What do you want it to do with the data of an image that is completely
transparent?
If you can’t ever see the image I’m not sure where the problem is.

if you using the Alpha channel for alternative data or toggling Alpha
on and off.<<

I don’t know what this “alternative data” is or why anyone would display an
image they can’t see, only to then turn off transparency.On Wed, Jul 4, 2012 at 3:42 PM, Jon Atkins wrote:

---------- Forwarded message ----------
From: “Matthew Rappard”
Date: Jul 4, 2012 2:38 PM
Subject: SDL_Image problem. Does not properly support Alpha under OSX.
To:

Under OSX, if you load a TIF that has a alpha channel. It will ignore the
color data if the image is completely transparent and consider the color
data to be 0,0,0. It only matter if you using the Alpha channel for
alternative data or toggling Alpha on and off.

Thank you for simplifying the loading of Image in SDL.


Matthew Rappard
416-871-4564


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Image data isn’t always for seeing. It also happens to be a “bit map”.

Jonny D

Maybe I know this question.

Sometimes you need a white paper to draw something. The “white paper” is
completely transparent.

You can changed the blit function in some file under src/video.

2012/7/8 Jonathan Dearborn > Image data isn’t always for seeing. It also happens to be a “bit map”.

Jonny D


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Best Regards