C# 클래스 SwfDotNet.IO.Tags.DefineBitsJpeg2Tag

DefineBitsJpeg2Tag is used to define a JPEG encoded image with an integrated encoding table.

It extends the DefineBitsTag class by including a separate encoding table, rather than using an JpegTable object to store the encoding table. This allows multiple JPEG images with different amounts of compression to be included within a Flash file.

This tag was introduced in Flash 2.

상속: BaseTag, DefineTag
파일 보기 프로젝트 열기: bladecoding/SwfExport 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
characterId ushort
jpegData byte[]

공개 메소드들

메소드 설명
DecompileToFile ( string fileName ) : void

Decompiles to file.

DecompileToImage ( ) : Image

Decompiles to image.

DefineBitsJpeg2Tag ( ) : System

Creates a new DefineBitsJpeg2Tag instance.

DefineBitsJpeg2Tag ( ushort id, byte image ) : System

Creates a new DefineBitsJpeg2Tag instance.

FromFile ( ushort characterId, string fileName ) : DefineBitsJpeg2Tag

Construct a new DefineBitsJpeg2Tag object from a file.

FromImage ( ushort characterId, Image image ) : DefineBitsJpeg2Tag

Construct a new DefineBitsJpeg2Tag object from an image object.

FromStream ( ushort characterId, Stream stream ) : DefineBitsJpeg2Tag

Construct a new DefineBitsJpeg2Tag object from a stream.

GetSizeOf ( ) : int

Gets the size of.

ReadData ( byte version, BufferedBinaryReader binaryReader ) : void

see base class

Serialize ( XmlWriter writer ) : void

Serializes the specified writer.

UpdateData ( byte version ) : void

see base class

비공개 메소드들

메소드 설명
DecompileToStream ( Stream stream ) : void

Decompiles to stream.

메소드 상세

DecompileToFile() 공개 메소드

Decompiles to file.
public DecompileToFile ( string fileName ) : void
fileName string Name of the file.
리턴 void

DecompileToImage() 공개 메소드

Decompiles to image.
public DecompileToImage ( ) : Image
리턴 Image

DefineBitsJpeg2Tag() 공개 메소드

Creates a new DefineBitsJpeg2Tag instance.
public DefineBitsJpeg2Tag ( ) : System
리턴 System

DefineBitsJpeg2Tag() 공개 메소드

Creates a new DefineBitsJpeg2Tag instance.
public DefineBitsJpeg2Tag ( ushort id, byte image ) : System
id ushort Id.
image byte Image.
리턴 System

FromFile() 공개 정적인 메소드

Construct a new DefineBitsJpeg2Tag object from a file.
public static FromFile ( ushort characterId, string fileName ) : DefineBitsJpeg2Tag
characterId ushort Character id.
fileName string Name of the file.
리턴 DefineBitsJpeg2Tag

FromImage() 공개 정적인 메소드

Construct a new DefineBitsJpeg2Tag object from an image object.
public static FromImage ( ushort characterId, Image image ) : DefineBitsJpeg2Tag
characterId ushort Character id.
image Image Image.
리턴 DefineBitsJpeg2Tag

FromStream() 공개 정적인 메소드

Construct a new DefineBitsJpeg2Tag object from a stream.
public static FromStream ( ushort characterId, Stream stream ) : DefineBitsJpeg2Tag
characterId ushort Character id.
stream Stream Stream.
리턴 DefineBitsJpeg2Tag

GetSizeOf() 공개 메소드

Gets the size of.
public GetSizeOf ( ) : int
리턴 int

ReadData() 공개 메소드

see base class
public ReadData ( byte version, BufferedBinaryReader binaryReader ) : void
version byte
binaryReader SwfDotNet.IO.Utils.BufferedBinaryReader
리턴 void

Serialize() 공개 메소드

Serializes the specified writer.
public Serialize ( XmlWriter writer ) : void
writer System.Xml.XmlWriter Writer.
리턴 void

UpdateData() 공개 메소드

see base class
public UpdateData ( byte version ) : void
version byte
리턴 void

프로퍼티 상세

characterId 보호되어 있는 프로퍼티

The character Id
protected ushort characterId
리턴 ushort

jpegData 보호되어 있는 프로퍼티

The jpeg data bytes
protected byte[] jpegData
리턴 byte[]