Renders the image and exports the resulting image data in JPEG format.
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+Beta
- tvOS 10.0+
The image object to render.
A data representation of the rendered image in JPEG format, or
nil if the image could not be rendered.
To render an image for export, the image’s contents must not be empty and its
extent dimensions must be finite. To export after applying a filter whose output has infinite extent, see the
Rendering Images for Data or File Export
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