GifApplicationExtensionBlock Class

Summary: Gif application extension block.

Module: aspose.imaging.fileformats.gif.blocks

Full Name: aspose.imaging.fileformats.gif.blocks.GifApplicationExtensionBlock

Inheritance: IGifBlock, GifBlock

Aspose.Imaging Version: 24.7.0

Constructors

NameDescription
GifApplicationExtensionBlock()Initializes a new instance of the GifApplicationExtensionBlock class.
GifApplicationExtensionBlock(application_identifier, application_authentication_code, application_data)Initializes a new instance of the GifApplicationExtensionBlock class.

Properties

NameTypeAccessDescription
APPLICATION_AUTHENTICATION_CODE_SIZE [static]intrSpecifies the application authentication code size.
APPLICATION_IDENTIFIER_SIZE [static]intrSpecifies the application identifier size.
BLOCK_HEADER_SIZE [static]intrSpecifies the block header size.
BLOCK_SIZE [static]byterExtension name + version block size
EXTENSION_INTRODUCER [static]byterExtension introducer.
EXTENSION_LABEL [static]byterExtension label.
application_authentication_codebyter/wGets or sets the application authentication code.
application_databyter/wGets or sets the application data.
application_identifierstringr/wGets or sets the application identifier.
is_changedboolr/wGets or sets a value indicating whether block has changed and requires save.

Methods

NameDescription
save(stream)Saves the block to the specified stream.

Constructor: GifApplicationExtensionBlock()

 GifApplicationExtensionBlock() 

Initializes a new instance of the GifApplicationExtensionBlock class.

Constructor: GifApplicationExtensionBlock(application_identifier, application_authentication_code, application_data)

 GifApplicationExtensionBlock(application_identifier, application_authentication_code, application_data) 

Initializes a new instance of the GifApplicationExtensionBlock class.

Parameters:

ParameterTypeDescription
application_identifierstringThe application identifier.
application_authentication_codebyteThe application authentication code.
application_databyteThe application data.

Method: save(stream)

 save(stream) 

Saves the block to the specified stream.

Parameters:

ParameterTypeDescription
stream_io.BufferedRandomThe stream to save data to.