Class

MPSImageLanczosScale

A filter that resizes and changes the aspect ratio of an image using Lanczos resampling.

Declaration

class MPSImageLanczosScale : MPSImageScale

Overview

You can use this filter to enlarge or reduce the size of an image, or to change the aspect ratio of an image. The filter uses a Lanczos resampling algorithm, that typically produces better quality for photographs, but is slower than linear sampling that uses GPU texture units. Lanczos downsampling does not require a low pass filter to be applied before it is used. Because the resampling function has negative lobes, Lanczos can result in ringing artifacts near sharp edges, making it less suitable for vector art.

Topics

Properties

struct MPSScaleTransform

A transform matrix for explicit resampling control with a Lanczos kernel.

Relationships

Inherits From

Conforms To

See Also

Image Manipulation Filters

class MPSImageConversion

A filter that performs a conversion of color space, alpha, or pixel format.

class MPSImageScale

A filter that resizes and changes the aspect ratio of an image.

class MPSImageBilinearScale

A filter that resizes and changes the aspect ratio of an image using Bilinear resampling.

class MPSImageTranspose

A filter that transposes an image.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software