GifBlocksRegistry Sınıfı

Summary: Represents the gif blocks openers registry.

Module: aspose.imaging.fileformats.gif

Full Name: aspose.imaging.fileformats.gif.GifBlocksRegistry

Properties

NameTypeAccessAçıklama
registered_descriptors [static]IGifBlockLoaderDescriptor[]rKayıtlı tanımlayıcıları alır.

Methods

NameAçıklama
get_first_supported_descriptor(stream)İlk desteklenen açıcı tanımlayıcısını alır.
get_first_supported_descriptor_by_type_name(descriptor_type_name)Tür adıyla ilk desteklenen tanımlayıcıyı alır.
load_block_by_first_supported_descriptor(stream, container_palette)Belirtilen stream için uygun bulunan ilk açıcıyı kullanarak gif bloğunu yükler.
register_opener(opener_descriptor)Açıcıyı kaydeder.
unregister_opener(opener_descriptor)Açıcı kaydını siler.

Method: get_first_supported_descriptor(stream) [static]

 get_first_supported_descriptor(stream) 

İlk desteklenen açıcı tanımlayıcısını alır.

Parameters:

ParameterTürAçıklama
akış_io.BufferedRandomAkış.

Returns

TürAçıklama
IGifBlockLoaderDescriptorGif bloğu açıcı tanımlayıcısı; böyle bir akış için desteklenen bir açıcı tanımlayıcısı yoksa null.

Method: get_first_supported_descriptor_by_type_name(descriptor_type_name) [static]

 get_first_supported_descriptor_by_type_name(descriptor_type_name) 

Tür adıyla ilk desteklenen tanımlayıcıyı alır.

Parameters:

ParameterTürAçıklama
descriptor_type_namestringTanımlayıcı tür adı.

Returns

TürAçıklama
IGifBlockLoaderDescriptorBulunan ilk açıcı tanımlayıcısı; böyle bir tanımlayıcı bulunamazsa null.

Method: load_block_by_first_supported_descriptor(stream, container_palette) [static]

 load_block_by_first_supported_descriptor(stream, container_palette) 

Belirtilen stream için uygun bulunan ilk açıcıyı kullanarak gif bloğunu yükler.

Parameters:

ParameterTürAçıklama
akış_io.BufferedRandomAkış.
container_paletteIColorPaletteKapsayıcı palet.

Returns

TürAçıklama
IGifBlockYüklenen gif bloğu; açıcı bulunamazsa null.

Method: register_opener(opener_descriptor) [static]

 register_opener(opener_descriptor) 

Açıcıyı kaydeder.

Parameters:

ParameterTürAçıklama
opener_descriptorIGifBlockLoaderDescriptorKaydedilecek açıcı tanımlayıcısı.

Method: unregister_opener(opener_descriptor) [static]

 unregister_opener(opener_descriptor) 

Açıcı kaydını siler.

Parameters:

ParameterTürAçıklama
opener_descriptorIGifBlockLoaderDescriptorKaydı silinecek açıcı tanımlayıcısı.