Error processing SSI file
LEADTOOLS JPEG 2000 (Leadtools.Jpeg2000 assembly)

Show in webframe

AppendBox(Stream,Jpeg2000SingleBox) Method






A System.IO.Stream containing the JPEG 2000 file data.
Jpeg2000SingleBox object containing the box data being appended.
Appends a single box to a JPEG 2000 data stream. This method is available in the Document/Medical Toolkits.
Syntax
public void AppendBox( 
   Stream stream,
   Jpeg2000SingleBox box
)
'Declaration
 
Public Overloads Sub AppendBox( _
   ByVal stream As Stream, _
   ByVal box As Jpeg2000SingleBox _
) 
'Usage
 
Dim instance As Jpeg2000Engine
Dim stream As Stream
Dim box As Jpeg2000SingleBox
 
instance.AppendBox(stream, box)

            

            
public:
void AppendBox( 
   Stream^ stream,
   Jpeg2000SingleBox^ box
) 

Parameters

stream
A System.IO.Stream containing the JPEG 2000 file data.
box
Jpeg2000SingleBox object containing the box data being appended.
Remarks

According to the JPEG 2000 standard a ResolutionBox cannot be appended to a file. Set it using the SetBox method. Attempting to append a ResolutionBox will cause an invalid parameter exception to be thrown.

Example
For an example, refer to Leadtools.Jpeg2000.Jpeg2000Engine.Save(RasterCodecs codecs, Stream stream, RasterImage image, Jpeg2000FileFormat format, int bitsPerPixel, int qualityFactor) example.
Requirements

Target Platforms

See Also

Reference

Jpeg2000Engine Class
Jpeg2000Engine Members
Overload List
AppendBox(String,Jpeg2000SingleBox)
AppendBoxes
AppendFrames
AppendGmlData
ReadBox
Compression Using LEAD and JPEG Formats
File Formats - JPEG And LEAD Compressed
Bitmaps In Memory And In Files
JPEG2000 File Comments
JPEG And LEAD File Comments
Programming with JPEG 2000 Features
JPEG 2000 Boxes

Error processing SSI file
Leadtools.Jpeg2000 requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features