MonobjcMonobjc Documented Class Library
CGImageSource Class
NamespacesMonobjc.ApplicationServicesCGImageSource

[Missing <summary> documentation for "T:Monobjc.ApplicationServices.CGImageSource"]

Declaration Syntax
C#Visual BasicVisual C++
public static class CGImageSource
Public NotInheritable Class CGImageSource
public ref class CGImageSource abstract sealed
Members
All MembersMethodsFields



IconMemberDescription
CopyProperties(IntPtr, NSDictionary)

Returns the properties of the image source.

Original signature is 'CFDictionaryRef CGImageSourceCopyProperties ( CGImageSourceRef isrc, CFDictionaryRef options );'

Available in Mac OS X version 10.4 and later.


CopyPropertiesAtIndex(IntPtr, NSUInteger, NSDictionary)

Returns the properties of the image at a specified location in an image source.

Original signature is 'CFDictionaryRef CGImageSourceCopyPropertiesAtIndex ( CGImageSourceRef isrc, size_t index, CFDictionaryRef options );'

Available in Mac OS X version 10.4 and later.


CopyTypeIdentifiers()()()()

Returns an array of uniform type identifiers (UTIs) that are supported for image sources.

Original signature is 'CFArrayRef CGImageSourceCopyTypeIdentifiers ( void );'

Available in Mac OS X version 10.4 and later.


CreateImageAtIndex(IntPtr, NSUInteger, NSDictionary)

Creates a CGImage object for the image data associated with the specified index in an image source.

Original signature is 'CGImageRef CGImageSourceCreateImageAtIndex ( CGImageSourceRef isrc, size_t index, CFDictionaryRef options );'

Available in Mac OS X version 10.4 and later.


CreateIncremental(NSDictionary)

Create an incremental image source.

Original signature is 'CGImageSourceRef CGImageSourceCreateIncremental ( CFDictionaryRef options );'

Available in Mac OS X version 10.4 and later.


CreateThumbnailAtIndex(IntPtr, NSUInteger, NSDictionary)

Creates a thumbnail image of the image located at a specified location in an image source.

Original signature is 'CGImageRef CGImageSourceCreateThumbnailAtIndex ( CGImageSourceRef isrc, size_t index, CFDictionaryRef options );'

Available in Mac OS X version 10.4 and later.


CreateWithData(NSData, NSDictionary)

Creates an image source that reads from a Core Foundation data object.

Original signature is 'CGImageSourceRef CGImageSourceCreateWithData ( CFDataRef data, CFDictionaryRef options );'

Available in Mac OS X version 10.4 and later.


CreateWithDataProvider(IntPtr, NSDictionary)

Creates an image source that reads data from the specified data provider.

Original signature is 'CGImageSourceRef CGImageSourceCreateWithDataProvider ( CGDataProviderRef provider, CFDictionaryRef options );'

Available in Mac OS X version 10.4 and later.


CreateWithURL(NSURL, NSDictionary)

Creates an image source that reads from a location specified by a URL.

Original signature is 'CGImageSourceRef CGImageSourceCreateWithURL ( CFURLRef url, CFDictionaryRef options );'

Available in Mac OS X version 10.4 and later.


GetCount(IntPtr)

Returns the number of images (not including thumbnails) in the image source.

Original signature is 'size_t CGImageSourceGetCount ( CGImageSourceRef isrc );'

Available in Mac OS X version 10.4 and later.


GetStatus(IntPtr)

Return the status of an image source.

Original signature is 'CGImageSourceStatus CGImageSourceGetStatus ( CGImageSourceRef isrc );'

Available in Mac OS X version 10.4 and later.


GetStatusAtIndex(IntPtr, NSUInteger)

Returns the current status of an image that is at a specified location in an image source.

Original signature is 'CGImageSourceStatus CGImageSourceGetStatusAtIndex ( CGImageSourceRef isrc, size_t index );'

Available in Mac OS X version 10.4 and later.


GetType(IntPtr)

Returns the uniform type identifier of the source container.

Original signature is 'CFStringRef CGImageSourceGetType ( CGImageSourceRef isrc );'

Available in Mac OS X version 10.4 and later.


kCGImageSourceCreateThumbnailFromImageAlways

Whether a thumbnail should be created from the full image even if a thumbnail is present in the image source file. The thumbnail is created from the full image, subject to the limit specified by kCGImageSourceThumbnailMaxPixelSize. If a maximum pixel size isn't specified, then the thumbnail is the size of the full image, which probably isn't what you want. This key must be a CFBoolean value. The default value is kCFBooleanFalse. This key can be provided in the options dictionary that you can pass to the function CGImageSourceCreateThumbnailAtIndex.

Available in Mac OS X v10.4 and later.


kCGImageSourceCreateThumbnailFromImageIfAbsent

Whether a thumbnail should be automatically created for an image if a thumbnail isn't present in the image source file. The thumbnail is created from the full image, subject to the limit specified by kCGImageSourceThumbnailMaxPixelSize. If a maximum pixel size isn't specified, then the thumbnail is the size of the full image, which in most cases is not desirable. This key must be a CFBoolean value. The default value is kCFBooleanFalse. This key can be provided in the options dictionary that you pass to the function CGImageSourceCreateThumbnailAtIndex.

Available in Mac OS X v10.4 and later.


kCGImageSourceCreateThumbnailWithTransform

Whether the thumbnail should be rotated and scaled according to the orientation and pixel aspect ratio of the full image. The value of this key must be a CFBoolean value. The default value is kCFBooleanFalse.

Available in Mac OS X v10.4 and later.


kCGImageSourceShouldAllowFloat

Whether the image should be returned as a CGImage object that uses floating-point values, if supported by the file format. CGImage objects that use extended-range floating-point values may require additional processing to render in a pleasing manner. The value of this key must be a CFBoolean value. The default value is kCFBooleanFalse.

Available in Mac OS X v10.4 and later.


kCGImageSourceShouldCache

Whether the image should be cached in a decoded form. The value of this key must be a CFBoolean value. The default value is kCFBooleanTrue. This key can be provided in the options dictionary that you can pass to the functions CGImageSourceCopyPropertiesAtIndex and CGImageSourceCreateImageAtIndex.

Available in Mac OS X v10.4 and later.


kCGImageSourceThumbnailMaxPixelSize

The maximum width and height in pixels of a thumbnail. If this key is not specified, the width and height of a thumbnail is not limited and thumbnails may be as big as the image itself. If present, this key must be a CFNumber value. This key can be provided in the options dictionary that you pass to the function CGImageSourceCreateThumbnailAtIndex.

Available in Mac OS X v10.4 and later.


kCGImageSourceTypeIdentifierHint

The best guess of the uniform type identifier (UTI) for the format of the image source file. If specified, the value of this key must be a CFString object. This key can be provided in the options dictionary when you create a CGImageSource object.

Available in Mac OS X v10.4 and later.


UpdateData(IntPtr, NSData, Boolean)

Updates an incremental image source with new data.

Original signature is 'void CGImageSourceUpdateData ( CGImageSourceRef isrc, CFDataRef data, bool final );'

Available in Mac OS X version 10.4 and later.


UpdateDataProvider(IntPtr, IntPtr, Boolean)

Updates an incremental image source with a new data provider.

Original signature is 'void CGImageSourceUpdateDataProvider ( CGImageSourceRef isrc, CGDataProviderRef provider, bool final );'

Available in Mac OS X version 10.4 and later.


Inheritance Hierarchy
Object
CGImageSource
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)