C# 클래스 CSJ2K.Icc.Tags.ICCTag

An ICC profile contains a 128-byte header followed by a variable number of tags contained in a tag table. Each tag is a structured block of ints. The tags share a common format on disk starting with a signature, an offset to the tag data, and a length of the tag data. The tag data itself is found at the given offset in the file and consists of a tag type int, followed by a reserved int, followed by a data block, the structure of which is unique to the tag type.

This class is the abstract super class of all tags. It models that part of the structure which is common among tags of all types.

It also contains the definitions of the various tag types.

파일 보기 프로젝트 열기: cureos/csj2k 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
count int
data byte[]
offset int
signature int
type int

공개 메소드들

메소드 설명
ToString ( ) : System.String
createInstance ( int signature, byte data, int offset, int count ) : ICCTag

Factory method for creating a tag of a specific type.

signatureString ( int signature ) : System.String

Create a string representation of the signature

typeString ( int type ) : System.String

Create a string representation of the tag type

보호된 메소드들

메소드 설명
ICCTag ( int signature, byte data, int offset, int count ) : System

Ued by subclass initialization to store the state common to all tags

비공개 메소드들

메소드 설명
GetTagInt ( string tag ) : int
ICCTag ( ) : System

메소드 상세

ICCTag() 보호된 메소드

Ued by subclass initialization to store the state common to all tags
protected ICCTag ( int signature, byte data, int offset, int count ) : System
signature int tag being created ///
data byte byte array containg embedded tag data ///
offset int to tag data in the array ///
count int size of tag data in bytes ///
리턴 System

ToString() 공개 메소드

public ToString ( ) : System.String
리턴 System.String

createInstance() 공개 정적인 메소드

Factory method for creating a tag of a specific type.
public static createInstance ( int signature, byte data, int offset, int count ) : ICCTag
signature int tag to create ///
data byte byte array containg embedded tag data ///
offset int to tag data in the array ///
count int size of tag data in bytes ///
리턴 ICCTag

signatureString() 공개 정적인 메소드

Create a string representation of the signature
public static signatureString ( int signature ) : System.String
signature int input ///
리턴 System.String

typeString() 공개 정적인 메소드

Create a string representation of the tag type
public static typeString ( int type ) : System.String
type int input ///
리턴 System.String

프로퍼티 상세

count 공개적으로 프로퍼티

size of the tag data in the array
public int count
리턴 int

data 공개적으로 프로퍼티

Tag data
public byte[] data
리턴 byte[]

offset 공개적으로 프로퍼티

offset to tag data in the array
public int offset
리턴 int

signature 공개적으로 프로퍼티

Tag id
public int signature
리턴 int

type 공개적으로 프로퍼티

Tag type
public int type
리턴 int