ImageEn, unit iexBitmaps

TIEMultiBitmap.Flip

TIEMultiBitmap.Flip


Declaration

procedure Flip(idx: integer; Dir: TFlipDir);


Description

Flips (mirrors) a frame within the image across the horizontal or vertical axis.


Examples

// Flip the first image in a TIFF file top-to-bottom
MBitmap := TIEMultiBitmap.Create();
MBitmap.LoadFromFile( 'D:\Doc.Tiff' );
MBitmap.Flip( 0, fdVertical );
MBitmap.SaveToFile( 'D:\Doc.Tiff' );
MBitmap.Free;