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位于自己的框架中骨宠,允許開發(fā)人員獨立于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.
本文檔適用于在應用程序中讀取或寫入圖像數據的開發(fā)人員。 目前使用圖像進口商或其他圖像處理庫的開發(fā)人員應該閱讀本文檔民假,以了解如何使用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.
本文檔分為以下章節(jié):
Basics of Using Image I/O討論支持的圖像格式,并展示如何將框架包含在Xcode項目中羊异。
Creating and Using Image Sources顯示如何創(chuàng)建圖像源事秀,從中創(chuàng)建圖像,并提取屬性以在用戶界面中顯示野舶。
Working with Image Destinations提供了創(chuàng)建圖像的目的地易迹,設置其屬性,并添加圖像給它的信息
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框架中的功能平道,數據類型和常量的詳細描述睹欲。