RemoveBlock

WebPImage.RemoveBlock method

Remove the specified WebP block from the image, facilitating efficient management of image data structure. Utilize this method to streamline image processing workflows by eliminating unnecessary blocks or components within your application.

public void RemoveBlock(IFrame block)
ParameterTypeDescription
blockIFrameThe block to remove.

Remarks

Note: do not forget to Dispose the block if you will not add it to some other WebPImage.

See Also