[]
        
(Showing Draft Content)

CSJ2K.Color.ColorSpace

ColorSpace Class

This class analyzes the image to provide colorspace information for the decoding chain. It does this by examining the box structure of the JP2 image. It also provides access to the parameter list information, which is stored as a public final field.

Inheritance
ColorSpace
Namespace: CSJ2K.Color
Assembly: C1.WPF.PdfViewer.4.6.2.dll
Syntax
public class ColorSpace

Constructors

Name Description
ColorSpace(RandomAccessIO, HeaderDecoder, ParameterList)

public constructor which takes in the image, parameterlist and the image header decoder as args.

Fields

Name Description
eol
hd

Parameter Specs

pl

Parameter Specs

Properties

Name Description
ICCProfile

Retrieve the ICC profile from the images as a byte array.

Method

Return the colorspace method (Profiled, enumerated, or palettized).

PaletteBox

Return number of channels in the palette.

PaletteChannels

Return number of channels in the palette.

Palettized

Is palettized predicate.

Methods

Name Description
ToString()

Return a suitable String representation of the class instance.

debugging()

Are profiling diagnostics turned on

getBoxes()

Retrieve the various boxes from the JP2 file.

getChannelDefinition(int)

Return the channel definition of the input component.

getColorSpace()

Return the colorspace (sYCC, sRGB, sGreyScale).

getPaletteChannelBits(int)

Return bitdepth of the palette entries.

getPalettizedSample(int, int)

Return a palettized sample

indent(string, string)

Indent a String that contains newlines.

indent(string, StringBuilder)

Indent a String that contains newlines.

isOutputSigned(int)

Signed output predicate.