ImageEn, unit iexHelperFunctions

TBitmap.IEResample

TBitmap.IEResample


Declaration


procedure IEResample(iNewWidth, iNewHeight: integer; QualityFilter: TResampleFilter = rfNone; bMaintainAspectRatio : Boolean = False);


Description


Calls Resample to resize a TBitmap and its content.


Example


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