pylon for Linux 影像類別:支援的影像格式#
pylon for Linux 的影像類別目前支援 TIFF 和 PNG 格式。
如果您想以其他格式儲存影像,QT Image 類別似乎是一個很好的替代方案。它支援以下格式:
| Format | 描述 | QT 的支援 |
|---|---|---|
| BMP | Windows Bitmap | 讀取/寫入 |
| GIF | Graphic Interchange Format (選用) | Read |
| JPG | Joint Photographic Experts Group | 讀取/寫入 |
| JPEG | Joint Photographic Experts Group | 讀取/寫入 |
| PNG | Portable Network Graphics | 讀取/寫入 |
| PBM | Portable Bitmap | Read |
| PGM | Portable Graymap | Read |
| PPM | Portable Pixmap | 讀取/寫入 |
| TIFF | Tagged Image File Format | 讀取/寫入 |
| XBM | X11 Bitmap | 讀取/寫入 |
| XPM | X11 Pixmap | 讀取/寫入 |
此範例程式碼示範了 pylon 影像和 QT Image 類別的使用方式。