Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

Next items

CGImageSourceMBS.CreateIncremental(options as dictionary=nil) as CGImageSourceMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Create an incremental image source.
Notes:
options: A dictionary that specifies additional creation options. For example kCGImageSourceTypeIdentifierHint.

The function CreateIncremental creates an empty image source container to which you can add data later by calling the function UpdateData. You don't provide data when you call this function.

An incremental image is an image that is created in chunks, similar to the way large images viewed over the web are loaded piece by piece.

Available in Mac OS X version 10.4 and later.

Feedback, Comments & Corrections

CGImageSourceMBS.CreateThumbnailMT(data as MemoryBlock, ImageIndex as integer = 0, Options as dictionary = nil) as CGImageMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 19.1 Yes No No Yes, macOS only No
Function: Creates thumbnail for image thread friendly.
Notes:
Data contains the image file data.
ImageIndex is the index of the image in the file to query.
Options contains various flags for options to creating image source and creating thumbnail.

Returns nil in case of any error.

Please call in Xojo thread for best performance. If you run several Xojo threads, you can get several CPU cores busy.

See also:

Feedback, Comments & Corrections

CGImageSourceMBS.CreateThumbnailMT(data as String, ImageIndex as integer = 0, Options as dictionary = nil) as CGImageMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 19.1 Yes No No Yes, macOS only No
Function: Creates thumbnail for image thread friendly.
Notes:
Data contains the image file data.
ImageIndex is the index of the image in the file to query.
Options contains various flags for options to creating image source and creating thumbnail.

Returns nil in case of any error.

Please call in Xojo thread for best performance. If you run several Xojo threads, you can get several CPU cores busy.

See also:

Feedback, Comments & Corrections

CGImageSourceMBS.CreateThumbnailMT(file as FolderItem, ImageIndex as integer = 0, Options as dictionary = nil) as CGImageMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 19.1 Yes No No Yes, macOS only No
Function: Creates thumbnail for image thread friendly.
Notes:
File refers to image file on disk.
ImageIndex is the index of the image in the file to query.
Options contains various flags for options to creating image source and creating thumbnail.

Returns nil in case of any error.

Please call in Xojo thread for best performance. If you run several Xojo threads, you can get several CPU cores busy.

See also:

Feedback, Comments & Corrections

CGImageSourceMBS.CreateWithData(data as string, options as dictionary=nil) as CGImageSourceMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Creates an image source that reads from a string.
Notes:
data: The data string to read from.
options: A dictionary that specifies additional creation options. For example kCGImageSourceTypeIdentifierHint.

Returns an image source.
Available in Mac OS X version 10.4 and later.

Feedback, Comments & Corrections

CGImageSourceMBS.CreateWithFile(file as folderitem, options as dictionary=nil) as CGImageSourceMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Creates an image source that reads from a location specified by a file.
Example:
// get a picture file
dim file as FolderItem = SpecialFolder.Desktop.Child("sylwia.jpg")
// get image source
dim source as new CGImageSourceMBS(file)
// read image
dim image as CGImageMBS = source.CreateImageAtIndex(0)
// get Color space from image
dim profile as CGColorSpaceMBS = image.ColorSpace
// get ICC profile data
dim ICCProfile as string = profile.ICCProfile
// and parse it with LCMS and show name
dim LCMSProfile as LCMS2ProfileMBS = LCMS2ProfileMBS.OpenProfileFromString(ICCProfile)
MsgBox LCMSProfile.Name
Notes:
url: The URL to read from.

options: A dictionary that specifies additional creation options. For example kCGImageSourceTypeIdentifierHint.

Returns an image source.

Available in Mac OS X version 10.4 and later.

Feedback, Comments & Corrections

CGImageSourceMBS.CreateWithURL(url as string, options as dictionary=nil) as CGImageSourceMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Creates an image source that reads from a location specified by a URL.
Notes:
url: The URL to read from.

options: A dictionary that specifies additional creation options. For example kCGImageSourceTypeIdentifierHint.

On success the handle value is not zero.

Available in Mac OS X version 10.4 and later.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImageProperty8BIMDictionary as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: One of the keys for the properties dictionary.
Notes: A dictionary of key-value pairs for an Adobe Photoshop image.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImageProperty8BIMLayerNames as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: One of the keys for the properties dictionary.
Notes: The layer names for an Adobe Photoshop file.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyCIFFCameraSerialNumber as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses Camera Image File Format (CIFF).
Notes: The camera serial number.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyCIFFContinuousDrive as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses Camera Image File Format (CIFF).
Notes: The continuous drive mode.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyCIFFDescription as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses Camera Image File Format (CIFF).
Notes: The camera description..

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyCIFFDictionary as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: One of the keys for the properties dictionary.
Notes:
A dictionary of key-value pairs for an image that uses Camera Image File Format (CIFF).

Available in Mac OS X v10.5 and later.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyCIFFFirmware as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses Camera Image File Format (CIFF).
Notes: The firmware version.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyCIFFFlashExposureComp as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses Camera Image File Format (CIFF).
Notes: The flash exposure compensation.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyCIFFFocusMode as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses Camera Image File Format (CIFF).
Notes: The focus mode.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyCIFFImageFileName as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses Camera Image File Format (CIFF).
Notes: The image file name.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyCIFFImageName as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses Camera Image File Format (CIFF).
Notes: The image name.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyCIFFImageSerialNumber as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses Camera Image File Format (CIFF).
Notes: The image serial number.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyCIFFLensMaxMM as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses Camera Image File Format (CIFF).
Notes: The maximum lens length.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyCIFFLensMinMM as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses Camera Image File Format (CIFF).
Notes: The minimum lens length.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyCIFFLensModel as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses Camera Image File Format (CIFF).
Notes: The lens model.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyCIFFMeasuredEV as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses Camera Image File Format (CIFF).
Notes: The measured EV.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyCIFFMeteringMode as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses Camera Image File Format (CIFF).
Notes: The metering mode.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyCIFFOwnerName as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses Camera Image File Format (CIFF).
Notes: The owner name.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyCIFFRecordID as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses Camera Image File Format (CIFF).
Notes: The record ID

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyCIFFReleaseMethod as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses Camera Image File Format (CIFF).
Notes: The release method.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyCIFFReleaseTiming as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses Camera Image File Format (CIFF).
Notes: The release timing.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyCIFFSelfTimingTime as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses Camera Image File Format (CIFF).
Notes: The self timing time.

Feedback, Comments & Corrections

Next items

The items on this page are in the following plugins: MBS MacCG Plugin.

The biggest plugin in space...




Links
MBS Xojo Plugins