适用于 Linux 的 pylon Image 类:支持的图像格式#
pylon for Linux 的图像类当前支持 TIFF 和 PNG 格式。
如果您想以其他格式保存图像,QT Image 类似乎是一个很好的替代方案。它支持以下格式:
| Format | 描述 | QT 的支持 |
|---|---|---|
| BMP | Windows Bitmap | 读/写 |
| GIF | Graphic Interchange Format(可选) | 读取 |
| JPG | Joint Photographic Experts Group | 读/写 |
| JPEG | Joint Photographic Experts Group | 读/写 |
| PNG | Portable Network Graphics | 读/写 |
| PBM | Portable Bitmap | 读取 |
| PGM | Portable Graymap | 读取 |
| PPM | Portable Pixmap | 读/写 |
| TIFF | Tagged Image File Format | 读/写 |
| XBM | X11 Bitmap | 读/写 |
| XPM | X11 Pixmap | 读/写 |
此 示例代码 演示了 pylon 图像和 QT Image 类的使用。