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編程接口允許應(yīng)用程序讀取和寫入大多數(shù)圖像文件格式。 最初是Core Graphics框架的一部分,Image I / O位于自己的框架中,允許開發(fā)人員獨(dú)立于Core Graphics(Quartz 2D)使用它。 圖像I / O提供了訪問圖像數(shù)據(jù)的確定方式,因?yàn)樗咝В试S輕松訪問元數(shù)據(jù),并提供顏色管理。
圖像I / O接口在OS X v10.4及更高版本以及iOS 4及更高版本中可用。
Who Should Read This Document?
誰應(yīng)該閱讀本文檔?
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.
本文檔適用于在應(yīng)用程序中讀取或?qū)懭雸D像數(shù)據(jù)的開發(fā)人員。 目前使用圖像進(jìn)口商或其他圖像處理庫的開發(fā)人員應(yīng)該閱讀本文檔,以了解如何使用Image I / O框架。
Organization of This Document
本文檔的組織結(jié)構(gòu)
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項(xiàng)目中。
Creating and Using Image Sources顯示如何創(chuàng)建圖像源,從中創(chuàng)建圖像,并提取屬性以在用戶界面中顯示。
Working with Image Destinations提供了創(chuàng)建圖像的目的地,設(shè)置其屬性,并添加圖像給它的信息
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框架中的功能,數(shù)據(jù)類型和常量的詳細(xì)描述。