[]
        
(Showing Draft Content)

CSJ2K.j2k.fileformat.writer.FileFormatWriter.-ctor

FileFormatWriter Constructor

FileFormatWriter(string, int, int, int, int[], int)

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

Declaration
public FileFormatWriter(string filename, int height, int width, int nc, int[] bpc, int clength)
Public Sub New(filename As String, height As Integer, width As Integer, nc As Integer, bpc As Integer(), clength As Integer)
Parameters
Type Name Description
string filename

The name of the file that is to be made a JP2 file

int height

The height of the image

int width

The width of the image

int nc

The number of components

int[] bpc

The number of bits per component

int clength

Length of codestream