MBS Xojo Developer Conference and Training
Join us from 3rd to 6th May 2017 in Berlin, Germany.

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.
Example:
dim file as FolderItem = SpecialFolder.Desktop.Child("test.jpg")
dim c as new CGImageSourceMBS(file)
dim img as CGImageMBS = c.CreateImageAtIndex(0)

Backdrop=img.Picture
Notes:
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




Links
MBS Xojo Chart Plugins