ImageEn, unit imageenio

TImageEnIO.LoadFromStreamJ2K

TImageEnIO.LoadFromStreamJ2K


Declaration

function LoadFromStreamJ2K(Stream: TStream): Boolean;


Description

Loads an image from a stream containing a Jpeg2000 (J2K code stream) file. The result will be false if an error is encountered, e.g. the file in the stream is not JPEG2000 format (Aborting will be true).

Note:
 An optimized JPEG2000 library is used if the IELib or IEVision DLL is available
 You can abort loading by setting Aborting to true
 LoadFromStream does not reset the position of the stream, so you may need to first call Stream.Position := 0;