Constants

Details

Vips.ARGUMENT_OPTIONAL_INPUT = 18
Vips.ARGUMENT_OPTIONAL_OUTPUT = 34
Vips.ARGUMENT_REQUIRED_INPUT = 19
Vips.ARGUMENT_REQUIRED_OUTPUT = 35
Vips.A_X0 = 109.8503

Areas under curves for illuminant A (2856K), 2 degree observer.

Vips.A_Y0 = 100.0
Vips.A_Z0 = 35.5849
Vips.B_X0 = 99.072

Areas under curves for illuminant B (4874K), 2 degree observer.

Vips.B_Y0 = 100.0
Vips.B_Z0 = 85.223
Vips.C_X0 = 98.07

Areas under curves for illuminant C (6774K), 2 degree observer.

Vips.C_Y0 = 100.0
Vips.C_Z0 = 118.23
Vips.D3250_X0 = 105.659

Areas under curves for black body at 3250K, 2 degree observer.

Vips.D3250_Y0 = 100.0
Vips.D3250_Z0 = 45.8501
Vips.D50_X0 = 96.425

Areas under curves for D50, 2 degree observer.

Vips.D50_Y0 = 100.0
Vips.D50_Z0 = 82.468
Vips.D55_X0 = 95.6831

Areas under curves for D55, 2 degree observer.

Vips.D55_Y0 = 100.0
Vips.D55_Z0 = 92.0871
Vips.D65_X0 = 95.047

Areas under curves for D65, 2 degree observer.

Vips.D65_Y0 = 100.0
Vips.D65_Z0 = 108.8827
Vips.D75_X0 = 94.9682

Areas under curves for D75, 2 degree observer.

Vips.D75_Y0 = 100.0
Vips.D75_Z0 = 122.571
Vips.D93_X0 = 89.74

Areas under curves for D93, 2 degree observer.

Vips.D93_Y0 = 100.0
Vips.D93_Z0 = 130.77
Vips.E_X0 = 100.0

Areas under curves for equal energy illuminant E.

Vips.E_Y0 = 100.0
Vips.E_Z0 = 100.0
Vips.INTERPOLATE_SCALE = 1

Vips.INTERPOLATE_SHIFT as a multiplicative constant.

Vips.INTERPOLATE_SHIFT = 12

Many of the vips interpolators use fixed-point arithmetic for value calcualtion. This is how many bits of precision they use.

Vips.MAGIC_INTEL = -1230573048

The first four bytes of a VIPS file in Intel byte ordering.

Vips.MAGIC_SPARC = 150120118

The first four bytes of a VIPS file in SPARC byte ordering.

Vips.MAX_COORD = 10000000
Vips.META_EXIF_NAME = 'exif-data'

The name that JPEG read and write operations use for the image’s EXIF data.

Vips.META_ICC_NAME = 'icc-profile-data'

The name we use to attach an ICC profile. The file read and write operations for TIFF, JPEG, PNG and others use this item of metadata to attach and save ICC profiles. The profile is updated by the vips_icc_transform() operations.

Vips.META_IMAGEDESCRIPTION = 'image-description'

The IMAGEDESCRIPTION tag. Often has useful metadata.

Vips.META_IPTC_NAME = 'iptc-data'

The name that read and write operations use for the image’s IPTC data.

Vips.META_LOADER = 'vips-loader'

Record the name of the original loader here. Handy for hinting file formats and for debugging.

Vips.META_N_PAGES = 'n-pages'

If set, the number of pages in the original file.

Vips.META_ORIENTATION = 'orientation'

The orientation tag for this image. An int from 1 - 8 using the standard exif/tiff meanings.

  • 1 - The 0th row represents the visual top of the image, and the 0th column represents the visual left-hand side.
  • 2 - The 0th row represents the visual top of the image, and the 0th column represents the visual right-hand side.
  • 3 - The 0th row represents the visual bottom of the image, and the 0th column represents the visual right-hand side.
  • 4 - The 0th row represents the visual bottom of the image, and the 0th column represents the visual left-hand side.
  • 5 - The 0th row represents the visual left-hand side of the image, and the 0th column represents the visual top.
  • 6 - The 0th row represents the visual right-hand side of the image, and the 0th column represents the visual top.
  • 7 - The 0th row represents the visual right-hand side of the image, and the 0th column represents the visual bottom.
  • 8 - The 0th row represents the visual left-hand side of the image, and the 0th column represents the visual bottom.
Vips.META_PAGE_HEIGHT = 'page-height'

If set, the height of each page when this image was loaded. If you save an image with “page-height” set to a format that supports multiple pages, such as tiff, the image will be saved as a series of pages.

Vips.META_PHOTOSHOP_NAME = 'photoshop-data'

The name that TIFF read and write operations use for the image’s TIFFTAG_PHOTOSHOP data.

Vips.META_RESOLUTION_UNIT = 'resolution-unit'

The JPEG and TIFF read and write operations use this to record the file’s preferred unit for resolution.

Vips.META_SEQUENTIAL = 'vips-sequential'

Images loaded via vips_sequential() have this int field defined. Some operations (eg. vips_shrinkv()) add extra caches if they see it on their input.

Vips.META_XMP_NAME = 'xmp-data'

The name that read and write operations use for the image’s XMP data.

Vips.TRANSFORM_SCALE = 1

Vips.TRANSFORM_SHIFT as a multiplicative constant.

Vips.TRANSFORM_SHIFT = 6

Many of the vips interpolators use fixed-point arithmetic for coordinate calculation. This is how many bits of precision they use.