Contains all messages from the Hollywood mailing list between 01/2006 and 08/2012
PEB
Posts: 576 Joined: Sun Feb 21, 2010 1:28 am
Post
by PEB » Sat Jun 13, 2020 5:32 pm
Note: This is an archived post that was originally sent to the Hollywood mailing list on Wed, 24 Mar 2010 23:40:07 -0000
If I use the following code in a MacOSX(x86) executable, I have problems.
table.Alpha returns True when the picture does NOT have an alpha-channel.
airsoftsoftwair
Posts: 5830 Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:
Post
by airsoftsoftwair » Sat Jun 13, 2020 5:32 pm
Note: This is an archived post that was originally sent to the Hollywood mailing list on Sat, 27 Mar 2010 12:54:53 +0100
If I use the following code in a MacOSX(x86) executable, I have problems.
ret, table = IsPicture(pic$)
table.Alpha returns True when the picture does NOT have an alpha-channel.
Hmm, can't reproduce this here. Are you on Snow Leopard maybe? What file format is the picture in? PNG? JPEG?
PEB
Posts: 576 Joined: Sun Feb 21, 2010 1:28 am
Post
by PEB » Sat Jun 13, 2020 5:32 pm
Note: This is an archived post that was originally sent to the Hollywood mailing list on Sat, 27 Mar 2010 15:25:51 -0000
Hmm, can't reproduce this here. Are you on Snow Leopard maybe?
Yes, v10.6.2
What file format is the picture in? PNG? JPEG?
I'm getting this problem with every JPEG I try.
airsoftsoftwair
Posts: 5830 Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:
Post
by airsoftsoftwair » Sat Jun 13, 2020 5:32 pm
Note: This is an archived post that was originally sent to the Hollywood mailing list on Sun, 28 Mar 2010 21:31:04 +0200
I'm getting this problem with every JPEG I try.
Ok, then Apple obviously changed something in their APIs because in 10.5 it's working correctly. I have to use a different mechanism to detect an alpha channel now because 10.6 seems to return 32bit data for JPEGs although that contains only 24bit pixels.