Reads a box of type boxType at index boxIndex from the specified JPEG 2000 data stream.
stream
A System.IO.Stream containing the JPEG 2000 file data.
boxType
Box type to be read.
boxIndex
0-based box index specifying the box to be read.
Jpeg2000Box object containing the box data.
All of the engine boxes will be reset (both those that have been loaded and any that have not been loaded). Only those boxes that have been found in the file during loading are updated.
For an example, refer to Leadtools.Jpeg2000.Jpeg2000Engine.SaveComposite(RasterCodecs codecs, Stream stream, List<CompositeJpxImages> compositeImages, Jpeg2000FileFormat format, int bitsPerPixel, int qualityFactor) example.