Member Login Log In | Not a Member? Contact ADC
Jump To:
Reference Library: Graphics & Imaging
Cocoa provides classes for custom drawing based on Quartz graphics, and utility functions for common graphics tasks such as copying and drawing bitmap data. To go beyond what Cocoa provides, developers can use the graphics and imaging frameworks in Mac OS X. Cocoa applications have access to a wide variety of graphics technologies including Quartz 2D, Quartz Services, OpenGL, QuickTime, and the Mac OS X printing system.

View all Cocoa Reference Library.
Document Descriptions
On Off
Display

Sorted by
Title
Sort by
Resource Type
Sort by
Date
IKSlideshowDemo (HTML) (DMG) (ZIP)
This small sample project shows how to use the ImageKit Slideshow to display images or PDFs.
Sample Code 2006-08-01
Image Difference (HTML) (DMG) (ZIP)
Demonstrates a way to use Quartz's compositing capability to find the difference between two images.
Sample Code 2003-01-30
Image I/O Programming Guide (HTML) (PDF)
Explains how to read and write image data using the Image I/O framework.
Guides 2007-07-02
Image Kit Programming Guide (HTML) (PDF)
Explains how to support browsing, viewing, editing, and processing images.
Guides 2008-06-09
Image Kit Reference Collection (HTML) (PDF)
Describes the Objective-C API for providing a user interface for images, image editing, and image processing.
Reference 2006-12-06
Image Unit Tutorial (HTML) (PDF)
Describes how to write image processing kernels and package them for distribution.
Guides 2008-06-09
Image Views (HTML) (PDF)
Explains how to use Cocoa image views.
Guides 2002-11-12
ImageApp (HTML) (DMG) (ZIP)
Demonstrates basic image handling using the ImageIO APIs in Mac OS X 10.4 Tiger
Sample Code 2008-01-24
ImageBackground (HTML) (DMG) (ZIP)
Shows how to draw an image in the background of an NSOutlineView and NSTableView.
Sample Code 2006-10-02
ImageBrowser (HTML) (DMG) (ZIP)
Demonstrates the ImageKit's IKImageBrowserView to browse images in a basic Cocoa application.
Sample Code 2007-03-13
Is ColorSync thread safe? (HTML) (日本語 HTML)
QA1261: Discusses ColorSync thread-safety issues.
Technical Q&As 2003-04-17
LayerBackedOpenGLView (HTML) (DMG) (ZIP)
"LayerBackedOpenGLView" provides a simple example of hosting Cocoa controls as subviews of an NSOpenGLView.
Sample Code 2007-06-12
Link Snoop (HTML) (DMG) (ZIP)
Shows how to use PDFKit to scan for and highlight link annotations in PDFs.
Sample Code 2005-06-01
LiveVideoMixer3 (HTML) (DMG) (ZIP)
LiveVideoMixer3 is extended to support Video In via QTKit
Sample Code 2006-08-01
Making the most of Cocoa bindings in Quartz Composer (HTML)
TN2146: Describes how to best use Cocoa bindings with Quartz Composer.
Technical Notes 2006-03-03
MassiveImage (HTML) (DMG) (ZIP)
Shows how to use a CGDataProvider to save a very large image with Image IO
Sample Code 2007-09-27
MyCustomColorPicker (HTML) (DMG) (ZIP)
Shows how to write a custom color picker using Cocoa.
Sample Code 2006-10-09
MyPhoto (HTML) (DMG) (ZIP)
Demonstrates preferred techniques for working with the Image Capture APIs
Sample Code 2005-06-01
NSAffineTransform Additions Reference (HTML) (PDF)
Describes the Application Kit additions to the class for creating, concatenating, and applying affine transformations.
Reference 2007-02-28
NSAffineTransform Class Reference (HTML) (PDF)
Describes the class for manipulating the current coordinate space.
Reference 2007-01-15
NSAnimation Class Reference (HTML) (PDF)
Describes the class for managing the timing and progress of animations in the user interface.
Reference 2007-10-31
NSBezierPath Class Reference (HTML) (PDF)
Describes the class for drawing path-based shapes.
Reference 2007-03-02
NSBitmapImageRep Class Reference (HTML) (PDF)
Describes the class for rendering images from representations of bitmap data.
Reference 2007-02-28
NSBox Class Reference (HTML) (PDF)
Describes the class that implements a view that can display its border and a title.
Reference 2007-05-30
NSCachedImageRep Class Reference (HTML) (PDF)
Describes the class for accessing image cache information.
Reference 2007-01-15
NSCIImageRep Class Reference (HTML) (PDF)
Describes the class for using Core Image with Cocoa images.
Reference 2007-01-15
NSClipView Class Objective-C Reference (HTML) (PDF)
Describes the class that contains and scrolls the document view of a scroll view.
Reference 2006-05-23
NSColor Class Reference (HTML) (PDF)
Describes the class used to represent a color defined in a color space.
Reference 2006-05-23
NSColorList Class Reference (HTML) (PDF)
Describes the class used to store an ordered list of NSColor objects, identified by keys.
Reference 2007-02-28
NSColorPanel Class Reference (HTML) (PDF)
Describes the class used to provide a standard user interface for selecting color in an application.
Reference 2007-02-28
NSColorPicker Class Reference (HTML) (PDF)
Describes the abstract superclass used to add color pickers (custom user interfaces for color selection) to NSColorPanel.
Reference 2007-02-28
NSColorPickingCustom Protocol Reference (HTML) (PDF)
Describes the protocol that color pickers implement to provide a customized user interface for color panels.
Reference 2007-04-01
NSColorPickingDefault Protocol Reference (HTML) (PDF)
Describes the protocol that color pickers implement to provide a basic user interface for color panels.
Reference 2007-04-27
NSColorSpace Class Reference (HTML) (PDF)
Describes the class used to support the creation of objects representing custom color spaces.
Reference 2007-02-28
NSColorWell Class Reference (HTML) (PDF)
Describes the class used for selecting and displaying a single color value.
Reference 2007-02-28
NSCustomImageRep Class Reference (HTML) (PDF)
Describes the class for supporting custom image formats.
Reference 2007-01-19
NSEPSImageRep Class Reference (HTML) (PDF)
Describes the class for handling EPS image data.
Reference 2007-01-22
NSGLImage (HTML) (DMG) (ZIP)
Deprecated - Demonstrates how to texture in OpenGL with an NSImage and/or NSBitmapImageRep
Sample Code 2004-12-01
NSGraphicsContext Class Reference (HTML) (PDF)
Describes the class whose objects represent graphics contexts, which are destinations for drawing operations.
Reference 2007-03-01
NSImage Class Reference (HTML) (PDF)
Describes the class for managing and drawing images.
Reference 2007-10-31
NSImageRep Class Reference (HTML) (PDF)
Describes the base class for managing image data.
Reference 2007-10-31
NSOpenGL Fullscreen (HTML) (DMG) (ZIP)
Demonstrates how to create and switch between windowed and fullscreen OpenGL contexts using NSOpenGL.
Sample Code 2004-02-11
NSOpenGLContext Class Reference (HTML) (PDF)
Describes the class for managing the OpenGL drawing environment.
Reference 2008-06-09
NSOpenGLPixelBuffer Class Reference (HTML) (PDF)
Describes the class for managing OpenGL bitmaps.
Reference 2007-01-31
NSOpenGLPixelFormat Class Reference (HTML) (PDF)
Describes the class for managing OpenGL rendering attributes.
Reference 2007-01-26
NSOpenGLView redraw problems after a window is closed and re-opened. (HTML)
QA1353: Workaround for NSOpenGLView failure to draw after its window is closed and re-opened.
Technical Q&As 2004-12-03
NSPanel Class Reference (HTML) (PDF)
Describes the class that implements a lightweight, easy-access window.
Reference 2008-07-11
NSPDFImageRep Class Reference (HTML) (PDF)
Describes the class for managing PDF image data.
Reference 2007-01-26
NSPICTImageRep Class Reference (HTML) (PDF)
Describes the class for managing PICT image data.
Reference 2007-01-26
NSQuickDrawView Class Reference (HTML) (PDF)
Describes the class for using QuickDraw in Cocoa views.
Reference 2007-01-30
NSScreen Class Reference (HTML) (PDF)
Describes the class for retrieving screen-based information.
Reference 2007-01-30
NSScrollView Class Reference (HTML) (PDF)
Describes the class that allows the user to scroll a document view that's too large to display in its entirety.
Reference 2006-05-23
NSShadow Class Reference (HTML) (PDF)
Describes the class for adding shadow effects to rendered shapes.
Reference 2007-01-30
NSTimers and Rendering Loops (HTML)
QA1385: Using Cocoa timers (NSTimer) to drive a rendering loop
Technical Q&As 2004-10-04
NSValue Core Animation Additions (HTML) (PDF)
Describes extensions to Foundation's NSValue class that support the Core Animation LKTransform structure.
Reference 2007-07-24
NSView Class Reference (HTML) (PDF)
Describes the class that defines the basic drawing, event-handling, and printing architecture of an application.
Reference 2008-03-11
NSViewAnimation Class Reference (HTML) (PDF)
Describes the class for animating views and windows.
Reference 2006-05-23
NSWindow Class Reference (HTML) (PDF)
Describes the class used to manipulate windows and distribute window events to the appropriate view.
Reference 2007-10-31
OpenGL Filter Basics Cocoa (HTML) (DMG) (ZIP)
How to use Objective-C and MVC design patterns in installing and utilizing filters in an OpenGL rendering pipeline
Sample Code 2008-02-06
OpenGL Release Highlights - Mac OS X 10.3 Panther (HTML)
TN2131: Contains a list of bugs along with a short description on a release-by-release basis
Technical Notes 2005-02-04
OpenGL Screensaver (HTML) (DMG) (ZIP)
Demonstrates how to integrate OpenGL drawing into a standard Cocoa screen saver on Mac OS X.
Sample Code 2003-12-10
OpenGLCompositorLab (HTML) (DMG) (ZIP)
Demonstrates using OpenGL to composite multiple sources in hardware. Requires NVIDIA GeForce 4 Ti hardware.
Sample Code 2003-04-21
PDF Annotation Editor (HTML) (DMG) (ZIP)
Demonstrates how to use PDF Kit to examine, edit, and create PDF annotations.
Sample Code 2006-07-31
PDF Calendar (HTML) (DMG) (ZIP)
Demonstrates how to use PDF Kit to create PDF content.
Sample Code 2006-07-31
PDF Kit Programming Guide (HTML) (PDF)
Introduces basic PDF concepts and describes how to use PDF Kit to display PDF documents in your application.
Guides 2007-12-11
PDF Kit Reference Collection (HTML) (PDF)
Describes the Objective-C API for viewing, navigating, and editing PDF content.
Reference 2007-12-11
PDFAction Class Reference (HTML) (PDF)
Describes the class for representing an action in a PDF document.
Reference 2007-12-11
PDFActionGoTo Class Reference (HTML) (PDF)
Describes the class for manipulating the destination of a go-to action in a PDF document.
Reference 2007-12-11
PDFActionNamed Class Reference (HTML) (PDF)
Describes the class for working with actions that have defined names, such as "Go back."
Reference 2007-12-11
PDFActionRemoteGoTo Class Reference (HTML) (PDF)
Describes the class for manipulating the destination of a go-to action that targets another PDF document.
Reference 2007-12-11
PDFActionResetForm Class Reference (HTML) (PDF)
Describes the class for getting and clearing fields in a PDF form.
Reference 2007-12-11
PDFActionURL Class Reference (HTML) (PDF)
Describes the class for managing the URL associated with a URL action.
Reference 2007-12-11
PDFAnnotation Class Reference (HTML) (PDF)
Describe the class for creating and managing annotations in PDF documents.
Reference 2007-12-11
PDFAnnotationButtonWidget Class Reference (HTML) (PDF)
Describes the class for manipulating button annotations in PDF documents.
Reference 2007-12-11
PDFAnnotationChoiceWidget Class Reference (HTML) (PDF)
Describes the class for manipulating pop-up menu and list annotations in a PDF document.
Reference 2007-12-11
PDFAnnotationCircle Class Reference (HTML) (PDF)
Describes the class for manipulating circle annotations in PDF documents.
Reference 2006-05-23
PDFAnnotationFreeText Class Reference (HTML) (PDF)
Describes the class for manipulating free text annotations in PDF documents.
Reference 2007-12-11
PDFAnnotationInk Class Reference (HTML) (PDF)
Describes the class for manipulating ink annotations in PDF documents.
Reference 2006-05-23
PDFAnnotationLine Class Reference (HTML) (PDF)
Describes the class for manipulating line annotations in PDF documents.
Reference 2007-12-11
PDFAnnotationLink Class Reference (HTML) (PDF)
Describes the class for manipulating link annotations in PDF documents.
Reference 2006-05-23
PDFAnnotationMarkup Class Reference (HTML) (PDF)
Describes the class for manipulating markup annotations (highlighting, underlining, and so on) in PDF documents.
Reference 2006-05-23
PDFAnnotationPopup Class Reference (HTML) (PDF)
Describes the class for manipulating pop-up menu annotations in a PDF document.
Reference 2007-12-11
PDFAnnotationSquare Class Reference (HTML) (PDF)
Describes the class for manipulating square annotations in PDF documents.
Reference 2006-05-23
PDFAnnotationStamp Class Reference (HTML) (PDF)
Describes the class for displaying content to look as if it is "stamped" onto a PDF page.
Reference 2007-12-11
PDFAnnotationText Class Reference (HTML) (PDF)
Describes the class for manipulating text annotations in PDF documents.
Reference 2007-12-11
PDFAnnotationTextWidget Class Reference (HTML) (PDF)
Describes the class for manipulating editable text fields in PDF documents.
Reference 2007-12-11
PDFBorder Class Reference (HTML) (PDF)
Describes the class for creating and manipulating borders around annotations in PDF documents.
Reference 2006-05-23
PDFDestination Class Reference (HTML) (PDF)
Describes the class for describing specific destinations in PDF documents.
Reference 2007-12-11
PDFDocument Class Reference (HTML) (PDF)
Describes the class for creating and manipulating PDF files.
Reference 2007-12-11
PDFKitLinker2 (HTML) (DMG) (ZIP)
Demonstrates many aspects of PDFKit including navigation, display modes, searching, and PDFView subclassing.
Sample Code 2005-08-10
PDFOutline Class Reference (HTML) (PDF)
Describes the class for creating and manipulating structure outlines in PDF documents.
Reference 2007-12-11
PDFPage Class Reference (HTML) (PDF)
Describes the class for handling specific pages in PDF documents.
Reference 2007-12-11
PDFSelection Class Reference (HTML) (PDF)
Describes the class for handling user selections in PDF documents.
Reference 2007-12-11
PDFThumbnailView Class Reference (HTML) (PDF)
Describes the class for managing the thumbnail view in a PDF document.
Reference 2007-12-11
PDFView Class Reference (HTML) (PDF)
Describes the class that encapsulates all the capabilities of PDF Kit in a standard Cocoa view.
Reference 2007-12-11
PictureTaker (HTML) (DMG) (ZIP)
Demonstrates the PictureTaker in a basic Cocoa application
Sample Code 2007-04-02
Printing Programming Topics for Cocoa (HTML) (PDF)
Explains how to support printing in Cocoa applications.
Guides 2006-06-28
QCComposition Class Reference (HTML) (PDF)
Describes the class that represents a Quartz Composer composition.
Reference 2007-06-26
QCCompositionParameterView Class Reference (HTML) (PDF)
Describes the class used to edit the input parameters of a composition in a view.
Reference 2007-05-09
QCCompositionParameterViewDelegate Protocol Reference (HTML) (PDF)
Describes the protocol for responding to changes in a QCCompositionParameterView object.
Reference 2007-05-09