Introduction
介绍
The Image I/O programming interface allows applications to read and write most image file formats. Originally part of the Core Graphics framework, Image I/O resides in its own framework to allow developers to use it independently of Core Graphics (Quartz 2D). Image I/O provides the definitive way to access image data because it is highly efficient, allows easy access to metadata, and provides color management.
The Image I/O interface is available in OS X v10.4 and later and in iOS 4 and later.
图像I / O编程接口允许应用程序读取和写入大多数图像文件格式。 最初是Core Graphics框架的一部分,Image I / O位于自己的框架中,允许开发人员独立于Core Graphics(Quartz 2D)使用它。 图像I / O提供了访问图像数据的确定方式,因为它高效,允许轻松访问元数据,并提供颜色管理。
图像I / O接口在OS X v10.4及更高版本以及iOS 4及更高版本中可用。
Who Should Read This Document?
谁应该阅读本文档?
This document is intended for developers who read or write image data in an application. Any developer currently using image importers or other image handling libraries should read this document to see how to use the Image I/O framework instead.
本文档适用于在应用程序中读取或写入图像数据的开发人员。 目前使用图像进口商或其他图像处理库的开发人员应该阅读本文档,以了解如何使用Image I / O框架。
Organization of This Document
本文档的组织结构
This document is organized into the following chapters:
Basics of Using Image I/Odiscusses supported image formats and shows how to include the framework in an Xcode project.
Creating and Using Image Sourcesshows how to create an image source, create an image from it, and extract properties for display in the user interface.
Working with Image Destinationsprovides information on creating an image destination, setting up its properties, and adding an image to it.
本文档分为以下章节:
Basics of Using Image I/O讨论支持的图像格式,并展示如何将框架包含在Xcode项目中。
Creating and Using Image Sources显示如何创建图像源,从中创建图像,并提取属性以在用户界面中显示。
Working with Image Destinations提供了创建图像的目的地,设置其属性,并添加图像给它的信息
See Also
参见
TheImage I/O Reference Collectionprovides detailed descriptions of the functions, data types, and constants in the Image I/O framework.
Image I/O Reference Collection提供Image I / O框架中的功能,数据类型和常量的详细描述。