CIAutoAdjustmentFilterOptions Class

Definition

When passed to GetAutoAdjustmentFilters(CIAutoAdjustmentFilterOptions), limits the results.

public class CIAutoAdjustmentFilterOptions
type CIAutoAdjustmentFilterOptions = class
Inheritance
CIAutoAdjustmentFilterOptions

Remarks

The sample below shows a typical use.

void PrepareFixes (CIImage img)
{
    var opt = new CIAutoAdjustmentFilterOptions () {
    	RedEye = true,
    	AutoAdjustCrop = true
    };
    CIImage img = null;
    foreach (var filter in img.GetAutoAdjustmentFilters (opt)) {
    	filter.Image = img;
    	img = filter.OutputImage;
    }
}

Constructors

CIAutoAdjustmentFilterOptions()

Creates an empty filter.

Fields

AutoAdjustCrop

Whether or not to automatically crop the image.

AutoAdjustLevel

Gets or sets the automatic adjustment level.

Enhance

Set to false if you want to prevent filters that perform enhancements to be returned.

Features

Provides a set of features to use during Red-Eye filters.

ImageOrientation

Provides image orientation information to the auto-enhance system.

RedEye

Set to false if you want to prevent the filter that performs red-eye removal from being returned.

Applies to