WebPImage.InsertBlock

WebPImage.InsertBlock method

在图像的指定索引处插入新的 WebP 块,实现对块顺序的精确控制。将此方法无缝整合到图像数据结构中,以便在应用程序中加入额外的 WebP 块,促进高级图像处理和优化。

public void InsertBlock(int index, IFrame block)
参数类型描述
索引Int32零基索引的元素,即将插入 block 的位置。
IFrame要添加的 Webp 块。

另请参见