Platforms to show: All Mac Windows Linux Cross-Platform
Back to LCMS2BitmapMBS class.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
- Constructor(p as picture, bits as Integer = 8)
- Constructor(p as picture, left as Integer, top as Integer, width as Integer, height as Integer, bits as Integer = 8)
- Constructor(width as Integer, height as Integer, colorspace as Integer)
- Constructor(width as Integer, height as Integer, colorspace as Integer, RowBytes as Integer)
- Constructor(width as Integer, height as Integer, colorspace as Integer, RowBytes as Integer, data as memoryblock)
LCMS2BitmapMBS.Constructor(p as picture, bits as Integer = 8)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Bits can be 8, 16 or 32 bit integers.
See also:
- Constructor
- Constructor(p as picture, left as Integer, top as Integer, width as Integer, height as Integer, bits as Integer = 8)
- Constructor(width as Integer, height as Integer, colorspace as Integer)
- Constructor(width as Integer, height as Integer, colorspace as Integer, RowBytes as Integer)
- Constructor(width as Integer, height as Integer, colorspace as Integer, RowBytes as Integer, data as memoryblock)
LCMS2BitmapMBS.Constructor(p as picture, left as Integer, top as Integer, width as Integer, height as Integer, bits as Integer = 8)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | LCMS2 | MBS Images Plugin | 13.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Picks only the provided area from the source picture.
Bits can be 8, 16 or 32 bit integers.
See also:
- Constructor
- Constructor(p as picture, bits as Integer = 8)
- Constructor(width as Integer, height as Integer, colorspace as Integer)
- Constructor(width as Integer, height as Integer, colorspace as Integer, RowBytes as Integer)
- Constructor(width as Integer, height as Integer, colorspace as Integer, RowBytes as Integer, data as memoryblock)
LCMS2BitmapMBS.Constructor(width as Integer, height as Integer, colorspace as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Colorspace Type should be one of the color space signatures like kcmsSigRgbData.
Raises exception if colorspace is invalid.
See also:
- Constructor
- Constructor(p as picture, bits as Integer = 8)
- Constructor(p as picture, left as Integer, top as Integer, width as Integer, height as Integer, bits as Integer = 8)
- Constructor(width as Integer, height as Integer, colorspace as Integer, RowBytes as Integer)
- Constructor(width as Integer, height as Integer, colorspace as Integer, RowBytes as Integer, data as memoryblock)
LCMS2BitmapMBS.Constructor(width as Integer, height as Integer, colorspace as Integer, RowBytes as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Colorspace Type should be one of the colorspace signatures like kcmsSigRgbData.
Raises exception if colorspace is invalid.
See also:
- Constructor
- Constructor(p as picture, bits as Integer = 8)
- Constructor(p as picture, left as Integer, top as Integer, width as Integer, height as Integer, bits as Integer = 8)
- Constructor(width as Integer, height as Integer, colorspace as Integer)
- Constructor(width as Integer, height as Integer, colorspace as Integer, RowBytes as Integer, data as memoryblock)
LCMS2BitmapMBS.Constructor(width as Integer, height as Integer, colorspace as Integer, RowBytes as Integer, data as memoryblock)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
In this variant, you pass the memoryblock with right size.
Passing memoryblock of wrong size can lead into crashs.
Raises exception if colorspace is invalid.
See also:
- Constructor
- Constructor(p as picture, bits as Integer = 8)
- Constructor(p as picture, left as Integer, top as Integer, width as Integer, height as Integer, bits as Integer = 8)
- Constructor(width as Integer, height as Integer, colorspace as Integer)
- Constructor(width as Integer, height as Integer, colorspace as Integer, RowBytes as Integer)
LCMS2BitmapMBS.CopyToPicture(pic as picture, x as Integer = 0, y as Integer = 0) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | LCMS2 | MBS Images Plugin | 13.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This may be more efficient for you if you process a lot of image data as you can avoid creating new picture objects with using Picture method in this class.
May not work for all pictures, especially may fail on Linux.
Returns true on success.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Requires correct settings for rowbytes, height and data properties.
LCMS2BitmapMBS.Picture(HasAlpha as Boolean = false) as picture
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This method works with 8, 16 and 32 bit integer pictures. Make sure bits property is set.
The items on this page are in the following plugins: MBS Images Plugin.