ImageEn, unit iexHelperFunctions

TBitmapHelper.IEResample

TBitmapHelper.IEResample


Declaration

procedure IEResample(NewWidth, NewHeight: integer; QualityFilter: TResampleFilter = rfNone; MaintainAspectRatio: Boolean = False);


Description

Calls Resample to resize a TBitmap and its content.

Note: You must add the iexHelperFunctions unit to your uses clause


Example

// Resize the bitmap to screen dimensions (and good quality)
MyBitmap.IEResample( Screen.Width, Screen.Height, rfLanczos3 );