TImageEnIO.LoadFromStreamJP2
Declaration
function LoadFromStreamJP2(Stream: TStream): Boolean;
Description
Load an image from a stream containing a Jpeg2000 (JP2) 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
◼LoadFromStreamJP2 does not reset the position of the stream, so you may need to first call Stream.Position := 0;