ImageConvertToAlphaChannel
Posted: Wed Dec 16, 2009 11:49 am
Hi,
I'd like to suggest an easy to use function like ImageConvertToAlphaChannel(#SourceImageID, #DestImageID)
This should then add an alphachannel to a loaded image (like I asked in http://www.purebasic.fr/english/viewtop ... =5&t=40307).
Yes, I know, I may display an non-transparent-image with DisplayAlphaImage() and add the Layer. Would be nicer to have a small function for this...
Also possible ImageChangeDepth(#SourceImageID, Depth). So you would change from e.g. 24Bits to 32Bits in a millisecond, and your picture gets the needed transparency-layer.
I'd like to suggest an easy to use function like ImageConvertToAlphaChannel(#SourceImageID, #DestImageID)
This should then add an alphachannel to a loaded image (like I asked in http://www.purebasic.fr/english/viewtop ... =5&t=40307).
Yes, I know, I may display an non-transparent-image with DisplayAlphaImage() and add the Layer. Would be nicer to have a small function for this...
Also possible ImageChangeDepth(#SourceImageID, Depth). So you would change from e.g. 24Bits to 32Bits in a millisecond, and your picture gets the needed transparency-layer.