THotPDF.AddImageWithTransparency32 Method
方法摘要: THotPDF.AddImageWithTransparency32 Method
声明
function AddImageWithTransparency32(Width, Height: Integer; const Pixels: array of byte): Integer;
单元
HPDFDoc
参数
| 名称 | 用途 |
|---|---|
Width | Image width in pixels |
Height | Image height in pixels |
Pixels | Packed 32-bit pixel byte array |
返回值
Image resource index for the transparent image
使用说明
- 渲染或图像处理代码产出的 RGBA 风格缓冲区适用此 API
- 像素缓冲区长度必须与给定的尺寸一致