PNG-transparency for buttons on OS3.2?

This forum is for general developer support questions.
Post Reply
TomSoniq
Posts: 11
Joined: Sun Jun 19, 2011 2:03 pm

PNG-transparency for buttons on OS3.2?

Post by TomSoniq »

Hi,

I've got PNG files (for example those from AISS but also self made ones) with a transparent background.
Now I'm trying to integrate them into image buttons.

To test it I've taken the OS4 ReAction imagebuttons example and modified it to display one of the included GIFs and one self-made PNG next to each other in two buttons.

On OS4.1 running this 68k executable looks like this:
PNG-OS41.png
On OS3.2 running exactly the same 68k executable looks like this:
PNG-OS32.png
The transparent background of the GIF works in both cases but the transparent background of the PNG doesn't. :cry:

Is the OS3.2 png.datatype supposed to support transparency in image buttons at all?

Thanks,
Tom
Attachments
ImageButtons.lha
(26.83 KiB) Downloaded 13 times
User avatar
javierdlr
Beta Tester
Beta Tester
Posts: 384
Joined: Sun Jun 19, 2011 10:13 pm
Location: Donostia (GUIPUZCOA) - Spain
Contact:

Re: PNG-transparency for buttons on OS3.2?

Post by javierdlr »

Not a fix/solution, butyou can try with WarpPNG (http://aminet.net/util/dtype/WarpPNGdt.lha) and see if there is some difference.
Post Reply