ImageEn, unit iexBitmaps

IERegisterFormats


Declaration

procedure IERegisterFormats;


Description

Register/unregister following classes inside the VCL class framework. This allows use of standard VCL open/save dialogs and TPicture objects with ImageEn file formats.

TIETiffImage, TIEGifImage, TIEJpegImage, TIEPCXImage, TIEBMPImage, TIEICOImage, TIEPNGImage, TIETGAImage, TIEPXMImage, TIEJP2Image, TIEJ2KImage, TIENativeImage, TIEPDFImage

Each of above classes inherits from TIEGraphicBase. To get input/output parameters use the “IO” property, which is the same as the ImageEnIO.Params property.

Note: To support TIEPDFImage, ensure you call IERegisterFormats after registering the plug-in;


Example

png := TIEPngImage.Create;
try
  png.LoadFromFile( 'C:\MyImage.png' );
  Image1.Picture.Assign( png );
finally
  png.Free;
end;