Function

vImageConverter_Retain

Retains a vImage converter.

Declaration

void vImageConverter_Retain(vImageConverterRef converter);

Discussion

Retain a vImageConverterRef instance when you receive it from elsewhere (that is, you didn't create or copy it) and you want it to persist. If you retain a vImageConverterRef instance you're responsible for releasing it (see Memory Management Programming Guide for Core Foundation).

See Also

Converting Any-to-Any

Building a Basic Conversion Workflow

Learn the fundamentals of the convert-any-to-any function by converting a CMYK image to an RGB image.

vImageConvert_AnyToAny

Converts the pixels in a vImage buffer to another format, using the specified converter.

vImageConverterRef

A description of a conversion from one image format to another.

vImageConverter_CreateWithCGImageFormat

Creates a vImage converter that converts from one vImage Core Graphics image format to another.

vImageConverter_CreateForCGToCVImageFormat

Creates a vImage converter that converts a Core Graphics-formatted image to a Core Video-formatted image.

vImageConverter_CreateForCVToCGImageFormat

Creates a vImage converter that converts a Core Video-formatted image to a Core Graphics-formatted image.

vImageConverter_CreateWithColorSyncCodeFragment

Creates a vImage converter to convert from one vImage Core Graphics image format to another, using custom ColorSync transform.

vImageConverter_Release

Releases a vImage converter.

vImageConverter_MustOperateOutOfPlace

Determines whether a converter is capable of operating in place.

vImageConverter_GetSourceBufferOrder

Returns a list of vImage source buffer channel names, specifying the order of planes.

vImageConverter_GetDestinationBufferOrder

Returns a list of vImage destination buffer channel names, specifying the order of planes.

vImage Buffer Type Codes

Constants that specify the contents of vImage buffers.

vImageConverter_GetNumberOfSourceBuffers

Returns the number of source buffers consumed by the converter.

vImageConverter_GetNumberOfDestinationBuffers

Returns the number of destination buffers written to by the converter.

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