C# Класс CSJ2K.j2k.fileformat.writer.FileFormatWriter

This class writes the file format wrapper that may or may not exist around a valid JPEG 2000 codestream. This class writes the simple possible legal fileformat
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
FileFormatWriter ( Stream stream, int height, int width, int nc, int bpc, int clength ) : System

The constructor of the FileFormatWriter. It receives all the information necessary about a codestream to generate a legal JP2 file

writeBitsPerComponentBox ( ) : void

This method writes the Bits Per Component box

writeColourSpecificationBox ( ) : void

This method writes the Colour Specification box

writeContiguousCodeStreamBox ( byte cs ) : void

This method writes the Contiguous codestream box

writeFileFormat ( ) : int

This method reads the codestream and writes the file format wrapper and the codestream to the same file

writeFileTypeBox ( ) : void

This method writes the File Type box

writeImageHeaderBox ( ) : void

This method writes the Image Header box

writeJP2HeaderBox ( ) : void

This method writes the JP2Header box

Описание методов

FileFormatWriter() публичный Метод

The constructor of the FileFormatWriter. It receives all the information necessary about a codestream to generate a legal JP2 file
public FileFormatWriter ( Stream stream, int height, int width, int nc, int bpc, int clength ) : System
stream Stream The stream that is to be made a JP2 file /// ///
height int The height of the image /// ///
width int The width of the image /// ///
nc int The number of components /// ///
bpc int The number of bits per component /// ///
clength int Length of codestream /// ///
Результат System

writeBitsPerComponentBox() публичный Метод

This method writes the Bits Per Component box
If an I/O error ocurred. /// ///
public writeBitsPerComponentBox ( ) : void
Результат void

writeColourSpecificationBox() публичный Метод

This method writes the Colour Specification box
If an I/O error ocurred. /// ///
public writeColourSpecificationBox ( ) : void
Результат void

writeContiguousCodeStreamBox() публичный Метод

This method writes the Contiguous codestream box
If an I/O error ocurred. /// ///
public writeContiguousCodeStreamBox ( byte cs ) : void
cs byte The contiguous codestream /// ///
Результат void

writeFileFormat() публичный Метод

This method reads the codestream and writes the file format wrapper and the codestream to the same file
If an I/O error ocurred. /// ///
public writeFileFormat ( ) : int
Результат int

writeFileTypeBox() публичный Метод

This method writes the File Type box
If an I/O error ocurred. /// ///
public writeFileTypeBox ( ) : void
Результат void

writeImageHeaderBox() публичный Метод

This method writes the Image Header box
If an I/O error ocurred. /// ///
public writeImageHeaderBox ( ) : void
Результат void

writeJP2HeaderBox() публичный Метод

This method writes the JP2Header box
If an I/O error ocurred. /// ///
public writeJP2HeaderBox ( ) : void
Результат void