情報詳細Q:画像を保存するためにImagePersistenceSaveを使いたいです。どのように使用すれば良いでしょうか。環境:pylon5C#A:使い方についてサンプルを作成しました。145行目を参照してください。pylon5の標準サンプルは下記パスにあります。C:\Program Files\Basler\pylon 5\Development\Samples\C#\Basler.Pylon\Grab_UsingGrabLoopThreadまた、保存する画像の拡張子はImageFileFormatで下記が設定可能です。ImagePersistence.Save(ImageFileFormat.Bmp, "test.bmp", grabResult); // // 概要: // Windows Bitmap (BMP) format, no compression. Bmp = 0, // // 概要: // Tagged Image File Format (TIFF), no compression. Supports mono images with more // than 8 bit bit depth. Tiff = 1, // // 概要: // Joint Photographic Experts Group (JPEG) format. Lossy data compression. Jpeg = 2, // // 概要: // Portable Network Graphics (PNG) format. Lossless data compression. Png = 3, // // 概要: // Saves the raw image buffer data. Packed image formats are unpacked. In the format // used for saving, the data cannot be loaded using ImagePersistence.Load Raw = 4添付ファイルSimpleGrab_ImagePersistenceSave.zipタイトルpylonAPI:C#:画像保存ImagePersistenceSaveの使い方URL 名000004275公開状況公開済み検証状況公開済み