View Single Post
  #4 (permalink)  
Old 02-05-2010, 05:43 PM
agraham's Avatar
agraham agraham is offline
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 5,953
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

In a few days I'll post an update to ImageLibEx than can handle pixel level alpha. At the moment it supports constant alpha blend by the BitmapEx method.

AlphaBlend(src, srcrectangle, percent, destleft, desttop, transparent, transcolor)

where percent is the alpha for the source bitmap. I'll be adding

AlphaPixelBlend(src, srcrectangle, alphadata, destleft, desttop, transparent, transcolor)

where alphadata is a bitmap containing the alpha for source each pixel. It will need to be read from a file created on the desktop from a png file by a new Alpha object in the library. Full details will be in the help.
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
Reply With Quote