View Single Post
  #147 (permalink)  
Old 02-09-2010, 02:56 AM
chanppc chanppc is offline
Junior Member
 
Join Date: Sep 2009
Posts: 47
Default

Thank you for the latest library which helped me to solve the png alphabend issue. Hopefully you can give me some pointer how I can do the below:

I've 2 images to be blend together. The 1st one is a normal jpg (base image), and the 2nd one is a smaller png with transparent image.

I can blend them together using the AlphaPixelBlend. My question: is there a better way I can resize & crop part of the png before merging it to the jpg?


My current code seems to be a bit lengthy:
1. Resize the jpg to smaller (losing info) using drawerEx.DrawImage
2. AlphaPixelBlend the 2 images
3. resize it for display

Last edited by chanppc : 02-09-2010 at 02:59 AM.
Reply With Quote