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;