Contents

gamma

Identifies an NSNumber object containing the gamma value for the image.

Declaration

static let gamma: NSBitmapImageRep.PropertyKey

Discussion

Used only for PNG files. The gamma values is a floating-point number between 0.0 and 1.0, with 0.0 being black and 1.0 being the maximum color. It’s set when reading in and used when writing out.

See Also

Bitmap Properties