ImageEn, unit imageenio

TImageEnIO.AttachedIEBitmap

TImageEnIO.AttachedIEBitmap


Declaration


property AttachedIEBitmap: TIEBitmap


Description


Contains the attached TIEBitmap object (same value as the IEBitmap property).


Example


// multithread saving
Var
  Bmp: TIEBitmap;
  Io: TImageEnIO;
Begin
  Bmp := TIEBitmap.Create;
  Io := TImageEnIO.CreateFromBitmap(bmp);

  Io.LoadFromFile('C:\input.bmp');
  Io.AsyncMode := True; // this makes a thread foreach input/output task
  Io.SaveToFile('D:\i1.jpg'); // thread 1
  Io.SaveToFile('D:\i2.jpg'); // thread 2
  Io.SaveToFile('D:\i3.jpg'); // thread 3

  Io.Free; // free method waits for all tasks end!
  Bmp.Free;
End;