Platforms to show: All Mac Windows Linux Cross-Platform

CGImageSourceMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
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.

Feedback, Comments & Corrections

This class has no sub classes.

Some methods using this class:

Some examples using this class:

Blog Entries

Xojo Developer Magazine

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

CGImageMetadataTagMBS   -   CGLayerMBS

The biggest plugin in space...

MBS Xojo Chart Plugins

Start Chat