Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Resampling Bitmaps with Alpha

Status
Not open for further replies.

RMS001

Programmer
Nov 12, 2002
45
0
0
CA
Hi

vbAccelerator has code to resample alpha bitmaps using a proportional scheme that preserves aspect ratio.


I have pared this down to the resampling part only.

In the class 'cAlphaDibSection', the argument for

Public Function AlphaResample(ByVal lNewWidth As Long) As cAlphaDibSection

as you can see takes only one parameter - the width, and resizes the height proportionally.

Does any one know of a way to use this method to create a non-proportional resampled bitmap or other code to do the same?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top