GifApplicationExtensionBlock Class
Contents
[
Hide
]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
Name | Description |
---|---|
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
Name | Type | Access | Description |
---|---|---|---|
APPLICATION_AUTHENTICATION_CODE_SIZE [static] | int | r | Specifies the application authentication code size. |
APPLICATION_IDENTIFIER_SIZE [static] | int | r | Specifies the application identifier size. |
BLOCK_HEADER_SIZE [static] | int | r | Specifies the block header size. |
BLOCK_SIZE [static] | byte | r | Extension name + version block size |
EXTENSION_INTRODUCER [static] | byte | r | Extension introducer. |
EXTENSION_LABEL [static] | byte | r | Extension label. |
application_authentication_code | byte | r/w | Gets or sets the application authentication code. |
application_data | byte | r/w | Gets or sets the application data. |
application_identifier | string | r/w | Gets or sets the application identifier. |
is_changed | bool | r/w | Gets or sets a value indicating whether block has changed and requires save. |
Methods
Name | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
application_identifier | string | The application identifier. |
application_authentication_code | byte | The application authentication code. |
application_data | byte | The application data. |
Method: save(stream)
save(stream)
Saves the block to the specified stream.
Parameters:
Parameter | Type | Description |
---|---|---|
stream | _io.BufferedRandom | The stream to save data to. |