Mac OS 9
CGImage.h File Reference

CoreGraphics images. More...

#include <CGBase.h>
#include <CGColorSpace.h>
#include <CGDataProvider.h>

Go to the source code of this file.

Typedefs

typedef struct CGImage * CGImageRef
 
typedef enum CGImageAlphaInfo CGImageAlphaInfo
 

Enumerations

enum  CGImageAlphaInfo {
  kCGImageAlphaNone = 0 , kCGImageAlphaPremultipliedLast = 1 , kCGImageAlphaPremultipliedFirst = 2 , kCGImageAlphaLast = 3 ,
  kCGImageAlphaFirst = 4 , kCGImageAlphaNoneSkipLast = 5 , kCGImageAlphaNoneSkipFirst = 6
}
 

Functions

CGImageRef CGImageCreate (size_t width, size_t height, size_t bitsPerComponent, size_t bitsPerPixel, size_t bytesPerRow, CGColorSpaceRef colorspace, CGImageAlphaInfo alphaInfo, CGDataProviderRef provider, const float decode[], int shouldInterpolate, CGColorRenderingIntent intent)
 
CGImageRef CGImageMaskCreate (size_t width, size_t height, size_t bitsPerComponent, size_t bitsPerPixel, size_t bytesPerRow, CGDataProviderRef provider, const float decode[], int shouldInterpolate)
 
CGImageRef CGImageCreateWithJPEGDataProvider (CGDataProviderRef source, const float decode[], int shouldInterpolate, CGColorRenderingIntent intent)
 
CGImageRef CGImageRetain (CGImageRef image)
 
void CGImageRelease (CGImageRef image)
 
int CGImageIsMask (CGImageRef image)
 
size_t CGImageGetWidth (CGImageRef image)
 
size_t CGImageGetHeight (CGImageRef image)
 
size_t CGImageGetBitsPerComponent (CGImageRef image)
 
size_t CGImageGetBitsPerPixel (CGImageRef image)
 
size_t CGImageGetBytesPerRow (CGImageRef image)
 
CGColorSpaceRef CGImageGetColorSpace (CGImageRef image)
 
CGImageAlphaInfo CGImageGetAlphaInfo (CGImageRef image)
 
CGDataProviderRef CGImageGetDataProvider (CGImageRef image)
 
const float * CGImageGetDecode (CGImageRef image)
 
int CGImageGetShouldInterpolate (CGImageRef image)
 
CGColorRenderingIntent CGImageGetRenderingIntent (CGImageRef image)
 

Detailed Description

CoreGraphics images.

Introduced In: CoreGraphics-122 (Mac OS X 10.1)
Avaliable From: Universal Interfaces 3.4.1
Copyright: © 2000-2001 by Apple Computer, Inc., all rights reserved.

For bug reports, consult the following page on the World Wide Web:

http://developer.apple.com/bugreporter/

Function Documentation

◆ CGImageCreate()

CGImageRef CGImageCreate ( size_t  width,
size_t  height,
size_t  bitsPerComponent,
size_t  bitsPerPixel,
size_t  bytesPerRow,
CGColorSpaceRef  colorspace,
CGImageAlphaInfo  alphaInfo,
CGDataProviderRef  provider,
const float  decode[],
int  shouldInterpolate,
CGColorRenderingIntent  intent 
)

CGImageCreate()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGImageCreateWithJPEGDataProvider()

CGImageRef CGImageCreateWithJPEGDataProvider ( CGDataProviderRef  source,
const float  decode[],
int  shouldInterpolate,
CGColorRenderingIntent  intent 
)

CGImageCreateWithJPEGDataProvider()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.1 and later

◆ CGImageGetAlphaInfo()

CGImageAlphaInfo CGImageGetAlphaInfo ( CGImageRef  image)

CGImageGetAlphaInfo()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGImageGetBitsPerComponent()

size_t CGImageGetBitsPerComponent ( CGImageRef  image)

CGImageGetBitsPerComponent()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGImageGetBitsPerPixel()

size_t CGImageGetBitsPerPixel ( CGImageRef  image)

CGImageGetBitsPerPixel()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGImageGetBytesPerRow()

size_t CGImageGetBytesPerRow ( CGImageRef  image)

CGImageGetBytesPerRow()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGImageGetColorSpace()

CGColorSpaceRef CGImageGetColorSpace ( CGImageRef  image)

CGImageGetColorSpace()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGImageGetDataProvider()

CGDataProviderRef CGImageGetDataProvider ( CGImageRef  image)

CGImageGetDataProvider()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGImageGetDecode()

const float* CGImageGetDecode ( CGImageRef  image)

CGImageGetDecode()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGImageGetHeight()

size_t CGImageGetHeight ( CGImageRef  image)

CGImageGetHeight()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGImageGetRenderingIntent()

CGColorRenderingIntent CGImageGetRenderingIntent ( CGImageRef  image)

CGImageGetRenderingIntent()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGImageGetShouldInterpolate()

int CGImageGetShouldInterpolate ( CGImageRef  image)

CGImageGetShouldInterpolate()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGImageGetWidth()

size_t CGImageGetWidth ( CGImageRef  image)

CGImageGetWidth()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGImageIsMask()

int CGImageIsMask ( CGImageRef  image)

CGImageIsMask()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGImageMaskCreate()

CGImageRef CGImageMaskCreate ( size_t  width,
size_t  height,
size_t  bitsPerComponent,
size_t  bitsPerPixel,
size_t  bytesPerRow,
CGDataProviderRef  provider,
const float  decode[],
int  shouldInterpolate 
)

CGImageMaskCreate()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGImageRelease()

void CGImageRelease ( CGImageRef  image)

CGImageRelease()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGImageRetain()

CGImageRef CGImageRetain ( CGImageRef  image)

CGImageRetain()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later