-
Notifications
You must be signed in to change notification settings - Fork 0
CIStretchCrop
Eric McConville edited this page Jun 21, 2015
·
2 revisions
Distorts an image by stretching and or cropping to fit a target size.
- -inputCenterStretchAmount <number> : Determine how much the center of the image is stretched if stretching is used. If value is 0 then the center of the image maintains the original aspect ratio. If 1 then the image is stretched uniformly. [Default 0.25]
- -inputCropAmount <number> : Determines if and how much cropping should be used to achieve the target size. If value is 0 then only stretching is used. If 1 then only cropping is used. [Default 0.25]
- -inputImage <image> : The image to use as an input image. For filters that also use a background image, this is the foreground image.
- -inputSize <vector> : The size in pixels of the output image. [Default 1280,720]