The struct containing information about a grab buffer/result.
If the hasCompressedImage field in the struct is true, the grab buffer/result contains a compressed image. In this case, you should check the compressionStatus field in the struct to check whether the camera was able to compress the image properly. The camera can't compress an image if the amount of data required for compressing the image exceeds the desired compression ratio. The image can be decompressed if compressionStatus is CompressionStatus_Ok. If the hasCompressedImage field in the struct is false, the grab buffer/result already contains a decompressed image. In this case, the decompressedImageSize and decompressedPayloadSize fields will not be used. All other fields contain information about the decompressed data.
Public Attributes Documentation#
Status of compression (see EPylonCompressionStatus).
Size (in bytes) required for the decompressed image (only valid if hasCompressedImage is true).
Size (in bytes; including chunk data) required for the decompressed payload (only valid if hasCompressedImage is true).
True if grab buffer/result provided contains a compressed image (otherwise false if buffer/result is already decompressed).
True if image was compressed lossily (otherwise false if it was compressed losslessly).
X offset (in pixels) of compressed image.
Y offset (in pixels) of compressed image.
X padding (line padding; in bytes) of compressed image.
Y padding (image padding; in bytes) of compressed image.
Pixel type of compressed image.
Width (in pixels) of compressed image.
Height (in pixels) of compressed image.