View Single Post
Old 25 March 2011, 20:24   #20
Registered User
Join Date: Apr 2005
Location: Hangover
Posts: 2,227
Yet another one: Icon.library 46.4.193

My first try to make PNG images visible on AGA screens without using a big libPNG which would blow up my small and sweet icon libby too much. The result is a compromise, not really a good image quality, because I'm using the standard OS 3.5+ picture.datatypes for decoding the PNG stream. Unfortunately they don't seem to support the alpha channel by 100%.

Only the WarpPNG.datatype gives some usable ARGB data, because it has the ability to set the background color to black and so I could take that as a simple substitute for the missing alpha channel data to achieve transparency. But this isn't possible with the akPNG.datatype.

If somebody knows how to get FULL ARGB data in ASM with ReadPixelArray, please help!

Update below...

Last edited by PeterK; 26 March 2011 at 05:45.
PeterK is online now  
Page generated in 0.06167 seconds with 10 queries