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 Jpeg2000BoxType, _
ByVal boxIndex As Integer _
) As Jpeg2000Box
public:
Jpeg2000Box^ ReadBox(
Stream^ stream,
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
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
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.