Xojo Developer Conference
Join us from 25th to 27th April 2018 in Denver.

Platforms to show: All Mac Windows Linux Cross-Platform

CGImageSourceMBS class

class, CoreGraphics, MBS MacOSXCG Plugin (CGImageIO), class CGImageSourceMBS,
Plugin version: 9.5, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: The CoreGraphics class for image loading.
dim file as FolderItem = SpecialFolder.Desktop.Child("test.jpg")
dim c as new CGImageSourceMBS(file)
dim img as CGImageMBS = c.CreateImageAtIndex(0)

CGImageSource objects, available in Mac OS X v10.4 or later, abstract the data-reading task. An image source can read image data from a URL, a file or a string.

After creating a CGImageSource object for the appropriate source, you can obtain images, thumbnails, image properties, and other image information using CGImageSource functions.

This class has no sub classes.

Some methods using this class:

Some examples which use this class:

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

CGImageMBS   -   CGLayerMBS

MBS FileMaker tutorial videos