Type Alias

MLFeatureValueImageOption

The initializer options to crop and scale an image when you create an image feature value.

Declaration

typedef NSString *MLFeatureValueImageOption;

Topics

Image Options

MLFeatureValueImageOptionCropAndScale

The option you use to crop and scale an image when creating an image feature value.

MLFeatureValueImageOptionCropRect

The option you use to crop an image when creating an image feature value.

See Also

Creating Image Feature Values

+ featureValueWithCGImage:pixelsWide:pixelsHigh:pixelFormatType:options:error:

Wraps an image as a value for a feature, given an image, its width, and its height, in pixels.

+ featureValueWithCGImage:constraint:options:error:

Wraps an image as a value for a feature, given an image and its constraints.

+ featureValueWithImageAtURL:pixelsWide:pixelsHigh:pixelFormatType:options:error:

Wraps an image as a value for a feature, given an image’s URL, and its width and height, in pixels.

+ featureValueWithImageAtURL:constraint:options:error:

Wraps an image as a value for a feature, given an image’s URL and constraints.

MLImageConstraint

The width, height, and pixel format constraints of an image feature.