C# Класс SwfDotNet.IO.Utils.ImageFactory

ImageFactory provides methods to get the adapted tag object from an image.
Swf binary format has some different tags to include a picture in animation: DefineBitJpeg2 to include jpeg, DefineBitJpeg3 to include transparent jpeg, DefineBitsTag, DefineBitsLossLessTag to include bitmap and DefineBitsLossLessTag to include transparent bitmap. This class provides the way to automatically create the good tag object from picture files.
Показать файл Открыть проект

Открытые методы

Метод Описание
GetPictureBitsTag ( Image image, ushort characterId ) : BaseTag

Gets the picture bits tag.

GetPictureTag ( Image image, ushort characterId ) : BaseTag

Gets the picture tag.

Описание методов

GetPictureBitsTag() публичный статический Метод

Gets the picture bits tag.
public static GetPictureBitsTag ( Image image, ushort characterId ) : BaseTag
image Image Image.
characterId ushort Character id.
Результат SwfDotNet.IO.Tags.BaseTag

GetPictureTag() публичный статический Метод

Gets the picture tag.
public static GetPictureTag ( Image image, ushort characterId ) : BaseTag
image Image Image.
characterId ushort Character id.
Результат SwfDotNet.IO.Tags.BaseTag