Platforms to show: All Mac Windows Linux Cross-Platform
GM16BlobMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | GraphicsMagick | MBS GraphicsMagick Plugin | 14.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Blob provides the means to contain any opaque data. It is named after the term "Binary Large OBject" commonly used to describe unstructured data (such as encoded images) which is stored in a database. While the function of Blob is very simple (store a pointer and and size associated with allocated data), the Blob class provides some very useful capabilities. In particular, it is fully reference counted just like the Image class.
The Blob class supports value assignment while preserving any outstanding earlier versions of the object. Since assignment is via a pointer internally, Blob is efficient enough to be stored directly in an STL container or any other data structure which requires assignment. In particular, by storing a Blob in an associative container (such as STL's 'map') it is possible to create simple indexed in-memory "database" of Blobs.
Magick++ currently uses Blob to contain encoded images (e.g. JPEG) as well as ICC and IPTC profiles. Since Blob is a general-purpose class, it may be used for other purposes as well.
- 3 properties
- 9 methods
- method Constructor
- method Constructor(data as memoryblock, offset as Integer, size as Integer)
- method Constructor(data as string)
- method Constructor(other as GM16BlobMBS)
- method CopyMemory as memoryblock
- method CopyString as string
- method Data as Ptr
- method Update(data as memoryblock, offset as Integer, size as Integer)
- method Update(data as string)
This class has no sub classes.
Some methods using this class:
- GM16ImageMBS.Constructor(blob as GM16BlobMBS)
- GM16ImageMBS.Constructor(blob as GM16BlobMBS, geometry as GM16GeometryMBS, depth as UInt32)
- GM16ImageMBS.Constructor(blob as GM16BlobMBS, geometry as GM16GeometryMBS, depth as UInt32, Magick as string)
- GM16ImageMBS.Constructor(blob as GM16BlobMBS, geometry as GM16GeometryMBS, Magick as string)
- GM16ImageMBS.read(blob as GM16BlobMBS)
- GM16ImageMBS.read(blob as GM16BlobMBS, size as GM16GeometryMBS)
- GM16ImageMBS.read(blob as GM16BlobMBS, size as GM16GeometryMBS, depth as Integer, magick as string)
- GM16ImageMBS.write(blob as GM16BlobMBS)
- GM16ImageMBS.write(blob as GM16BlobMBS, magick as string)
- GM16ImageMBS.write(blob as GM16BlobMBS, magick as string, depth as UInt32)
Some properties using for this class:
- GM16ImageMBS.iccColorProfile as GM16BlobMBS
- GM16ImageMBS.iptcProfile as GM16BlobMBS
- GM16ImageMBS.profile(name as string) as GM16BlobMBS
Some examples using this class:
The items on this page are in the following plugins: MBS GraphicsMagick Plugin.
GlobalExceptionHandlerMBS - GM16CoderInfoMBS