Reads a box of type boxType at index boxIndex from the specified JPEG 2000 data stream.
public Jpeg2000Box ReadBox(
Stream stream,
Jpeg2000BoxType boxType,
int boxIndex
)
Public Overloads Function ReadBox( _
ByVal stream As Stream, _
ByVal boxType As Leadtools.Jpeg2000.Jpeg2000BoxType, _
ByVal boxIndex As Integer _
) As Leadtools.Jpeg2000.Jpeg2000Box
public:
Leadtools.Jpeg2000.Jpeg2000Box^ ReadBox(
Stream^ stream,
Leadtools.Jpeg2000.Jpeg2000BoxType boxType,
int boxIndex
)
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.
ReadBox(String, Jpeg2000BoxType, Int32)
Compression Using LEAD and JPEG Formats
File Formats - JPEG And LEAD Compressed
Bitmaps In Memory And In Files
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.