GifImage.RemoveBlock
GifImage.RemoveBlock method
Removing a GIF block removes specific data from the image, offering the ability to clean up or modify the image structure. This method enables you to remove unwanted or unnecessary blocks, optimizing the GIF image for efficient storage. Use this functionality to eliminate outdated information from the image while preserving its integrity and quality.
public void RemoveBlock(IGifBlock block)
Parameter | Type | Description |
---|---|---|
block | IGifBlock | The block to remove. |
Remarks
Note: do not forget to Dispose the block if you will not add it to some other GifImage.
See Also
- interface IGifBlock
- class GifImage
- namespace Aspose.Imaging.FileFormats.Gif
- assembly Aspose.Imaging