Data for an image, used with hapi.getImageInfo and hapi.setImageInfo
Methods ΒΆ
imageFileFormatNameSH
: int
Property
Unlike the other members of this struct changing imageFileFormatNameSH and giving this struct back to hapi.setImageInfo nothing will happen. Use this member variable to derive which image file format will be used by the hapi.extractImageToFile and hapi.extractImageToMemory functions if called with image_file_format_name set to None. This way, you can decide whether to ask for a file format conversion (slower) or not (faster). (Read-only)
xRes
: int
Property
yRes
: int
Property
interleaved
: bool
Property
ex: True = RGBRGBRGB, False = RRRGGGBBB
gamma
: float
Property
Adjust the gamma of the image. For anything less than hapi.imageDataFormat.Int16 you probably want to leave this as 2.2.