C# 클래스 Recurity.Swf.TagHandler.DefineBitsJPEG3

This tag defines a bitmap character with JPEG compression. This tag extends

DefineBitsJPEG2, adding alpha channel (opacity) data. Opacity/transparency information is

not a standard feature in JPEG images, so the alpha channel information is encoded separately

from the JPEG data, and compressed using the ZLIB standard for compression. The data

format used by the ZLIB library is described by Request for Comments (RFCs) documents

1950 to 1952.

The data in this tag begins with the JPEG SOI marker 0xFF, 0xD8 and ends with the EOI

marker 0xFF, 0xD9. Before version 8 of the Swf file format, Swf files could contain an

erroneous header of 0xFF, 0xD9, 0xFF, 0xD8 before the JPEG SOI marker.

In addition to specifying JPEG data, DefineBitsJPEG2 can also contain PNG image data and

non-animated GIF89a image data.

If ImageData begins with the eight bytes 0x89 0x50 0x4E 0x47 0x0D 0x0A 0x1A 0x0A, the

ImageData contains PNG data.

If ImageData begins with the six bytes 0x47 0x49 0x46 0x38 0x39 0x61, the ImageData

contains GIF89a data.

If ImageData contains PNG or GIF89a data, the optional BitmapAlphaData is not

supported.

The minimum file format version for this tag is Swf 3. The minimum file format version for

embedding PNG of GIF89a data is Swf 8

상속: AbstractTagHandler, ISwfCharacter
파일 보기 프로젝트 열기: rtezli/Blitzableiter 1 사용 예제들

공개 메소드들

메소드 설명
DefineBitsJPEG3 ( byte InitialVersion ) : System

ToString ( ) : string

Converts the value of this instance to a System.String.

Verify ( ) : bool

Verifies this object and its components for documentation compliance.

Write ( System output ) : void

Writes a tag back to a stream.

보호된 메소드들

메소드 설명
Parse ( ) : void

비공개 메소드들

메소드 설명
VerifyGIF98a ( ) : bool

Verifies this object and its component for documentation compliance.

VerifyJPEG ( ) : bool

Verifies this object and its component for documentation compliance.

VerifyPNG ( ) : bool

Verifies this object and its component for documentation compliance.

메소드 상세

DefineBitsJPEG3() 공개 메소드

public DefineBitsJPEG3 ( byte InitialVersion ) : System
InitialVersion byte The initial version of the Swf file
리턴 System

Parse() 보호된 메소드

protected Parse ( ) : void
리턴 void

ToString() 공개 메소드

Converts the value of this instance to a System.String.
public ToString ( ) : string
리턴 string

Verify() 공개 메소드

Verifies this object and its components for documentation compliance.
public Verify ( ) : bool
리턴 bool

Write() 공개 메소드

Writes a tag back to a stream.
public Write ( System output ) : void
output System The stream to write to.
리턴 void