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

JPEGTableTag defines an encoding table for JPEG images.

The encoding table is shared between all images defined using the DefineBitsTag class so there should only be one JpegTableTag object defined in a movie.

The JpegTableTag class is not essential to define JPEG encoded images in a movie using the DefineBitsJepg2Tag class. If an JpegTableTag object is created with an empty encoding table then the Flash Player will still display JPEG images defined using DefineBitsTag objects correctly. When an JpegTableTag with an empty encoding table is encoded to a Flash file, the "end of stream" marker 0xFFD9 is encoded allowing the empty table to be decoded correctly.

The simplest way to use the JpegTableTag and DefineBitsTag classes to define JPEG encoded images is to create an empty encoding table then construct the DefineBitsTag object(s) with the image data from a file:

This tag was introduced in Flash 1.

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

공개 메소드들

메소드 설명
JpegTableTag ( ) : System

Creates a new JpegTableTag instance.

JpegTableTag ( byte jpeg ) : System

Creates a new JpegTableTag instance.

ReadData ( byte version, BufferedBinaryReader binaryReader ) : void

see base class

Serialize ( XmlWriter writer ) : void

Serializes the specified writer.

UpdateData ( byte version ) : void

see base class

보호된 메소드들

메소드 설명
GetSizeOf ( ) : int

Gets the size of.

메소드 상세

GetSizeOf() 보호된 메소드

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

JpegTableTag() 공개 메소드

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

JpegTableTag() 공개 메소드

Creates a new JpegTableTag instance.
public JpegTableTag ( byte jpeg ) : System
jpeg byte JPEG data. An array of bytes containing the encoding table data.
리턴 System

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