文章目录
https://pymupdf.readthedocs.io/en/latest/pixmap.html

方法/属性 | 简短描述 |
---|---|
Pixmap.clear_with() | 清除像素图的部分 |
Pixmap.color_count() | 确定使用的颜色 |
Pixmap.color_topusage() | 确定最常用颜色的份额 |
Pixmap.copy() | 复制另一个像素图的部分内容 |
Pixmap.gamma_with() | 将 Gamma 因子应用于 PixMap |
Pixmap.invert_irect() | 反转给定区域的像素 |
Pixmap.pdfocr_save() | 将像素图另存为 OCR 的 1 页 PDF |
Pixmap.pdfocr_tobytes() | 将像素图另存为 OCR 的 1 页 PDF |
Pixmap.pil_save() | 使用枕头另存为图像 |
Pixmap.pil_tobytes() | 使用 pillow 写入对象bytes |
Pixmap |