View Single Post
  #148 (permalink)  
Old 02-09-2010, 08:44 AM
agraham's Avatar
agraham agraham is offline
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 3,839
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

The alpha bitmap has a width of mainimage.width/3 +1 and a height of mainimage.height. Using DrawImage you should be able to crop the main image starting at an x that is a multiple of three and crop the alpha bitmap to match starting at x/3 with a length of newmainwidth/3 + 1. As the vertical resolutions are the same use the same y start and height for both.

I don't think resizing will work without giving you some edge effects but you could try and see what it looks like.
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
Reply With Quote