// Output all rects as image files for i := 0 to rects.size - 1 do with rects.getRect(i) do begin bmp := TIEBitmap.Create( width, height ); ImageEnView1.IEBitmap.RenderToTIEBitmapEx( bmp, 0, 0, width, height, x, y, width, height ); bmp.SaveToFile( format( 'D:\Face_%d.jpg', [ i+1 ])); bmp.Free(); end;