Contents

NSBitmapImageRep.PropertyKey

Constants that identify bitmap image representation properties.

Declaration

struct PropertyKey

Discussion

Use these constants with representationOfImageReps(in:using:properties:), representation(using:properties:), setPixel(_:atX:y:), and value(forProperty:).

When using the value(forProperty:) method to retrieve the the value for any of these keys, be sure to check that the returned value is non-nil before you attempt to use it. A bitmap image representation may return nil for any values that have not yet been set.

Topics

Bitmap Properties

Initializers

Type Properties

See Also

Managing Compression Types