Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

GM16ImageArrayMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class GraphicsMagick MBS GraphicsMagick Plugin 14.1 Yes Yes Yes Yes No
Function: The class for an array of images in GraphicsMagick.
Example:
// extract all layers of photoshop file
dim file as FolderItem = SpecialFolder.Desktop.Child("test.psd")
dim images as new GM16ImageArrayMBS

images.readImages(file.UnixpathMBS)

dim c as Integer = images.size
for i as Integer = 0 to c-1
dim image as GM16ImageMBS = images.Image(i)
file = SpecialFolder.Desktop.Child(image.FileName+"."+str(i)+".png")
image.write(file)
next
Notes: Can be used to assemble/disassemble gif images.

Feedback, Comments & Corrections

This class has no sub classes.

Some examples which use this class:


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


GM16GraphicsMBS   -   GM16ImageChannelStatisticsMBS




Links
MBS Xojo blog