ImageEn, unit ievision

TIEVisionImage.repeatImage

TIEVisionImage.repeatImage


Declaration

procedure repeatImage(ny, nx: int32_t; dest: TIEVisionImage); safecall;


Description

Fill the destination image with repeated copies of the source image.

Parameter Description
ny How many times the source is repeated along the vertical axis
nx How many times the source is repeated along the horizontal axis
dest Container for resulting image

Note: This is the same as MakeTile


Example

ImageEnView1.IO.LoadFromFile( 'D:\im.jpg' );
DestIEViewer1.IEBitmap.Allocate( ImageEnView1.IEBitmap.Width * 3, ImageEnView1.IEBitmap.Height * 3 );
ImageEnView1.IEBitmap.GetIEVisionImage().repeatImage( 3, 3,  DestIEViewer1.IEBitmap.GetIEVisionImage() );
DestIEViewer1.Update();