class ImageInfo

Last modified: March 24, 2017

Contents

ImageInfo

In module gamera.core

__init__()

The ImageInfo class allows the properties of a disk-based image file to be examined without loading it.

It is rare to instantiate this class directly.

To get image info, use the image_info(filename) function in the module gamera.core.

x_resolution

The x resolution of the image.

y_resolution

The y resolution of the image.

ncols

The number of columns of the image.

nrows

The number of rows of the image.

depth

The bit depth of the image (in bits).

ncolors

The number of colors in the image.