For all who has the same problem.
William Miller sends me a code with that solution, this works fine for me.
Thanks Bill.
var
i: integer;
iImageEnIO: TImageEnIO;
iFolder: string;
iFilename: string;
begin
Screen.Cursor := crHourGlass;
try
iFolder := 'c:\temp\';
iImageEnIO := TImageEnIO.Create(nil);
try
for i := 0 to ImageEnView1.LayersCount - 1 do
begin
ImageEnView1.LayersFixRotations(i);
ImageEnView1.LayersFixSizes(i);
ImageEnView1.LayersFixBorders(i);
iImageEnIO.AttachedIEBitmap := ImageEnView1.Layers[i].Bitmap;
iFilename := iFolder + 'Export' + IntToStr(i) + '.jpg';
iImageEnIO.SaveToFileJpeg(iFilename);
end;
finally
iImageEnIO.Free;
end;
finally
Screen.Cursor := crDefault;
end;