Platforms to show: All Mac Windows Linux Cross-Platform
LCMS2BitmapMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
You can pass bitmap data as raw memoryblock or fill it using a Xojo picture.
In our LCMS 1.x plugin, the bitmap was always 16 bit. This plugin also can also use 8 bit or 32 bit.
- 6 properties
- 9 methods
- method Constructor
- method Constructor(p as picture, bits as Integer = 8)
- method Constructor(p as picture, left as Integer, top as Integer, width as Integer, height as Integer, bits as Integer = 8)
- method Constructor(width as Integer, height as Integer, colorspace as Integer)
- method Constructor(width as Integer, height as Integer, colorspace as Integer, RowBytes as Integer)
- method Constructor(width as Integer, height as Integer, colorspace as Integer, RowBytes as Integer, data as memoryblock)
- method CopyToPicture(pic as picture, x as Integer = 0, y as Integer = 0) as boolean
- method Invert
- method Picture(HasAlpha as Boolean = false) as picture
This class has no sub classes.
Some methods using this class:
- LCMS2MBS.CreateBitmapFromPicture(p as picture, bits as Integer = 8) as LCMS2BitmapMBS
- LCMS2MBS.NewBitmap(width as Integer,height as Integer, colorspace as Integer) as LCMS2BitmapMBS
- LCMS2MBS.NewBitmap(width as Integer,height as Integer, colorspace as Integer, RowBytes as Integer) as LCMS2BitmapMBS
- LCMS2MBS.NewBitmap(width as Integer,height as Integer, colorspace as Integer, RowBytes as Integer, data as memoryblock) as LCMS2BitmapMBS
- LCMS2TransformMBS.Transform(bitmap as LCMS2BitmapMBS) as boolean
- LCMS2TransformMBS.Transform(inBitmap as LCMS2BitmapMBS, outBitmap as LCMS2BitmapMBS) as boolean
- LCMS2TransformMBS.TransformMT(bitmap as LCMS2BitmapMBS, ThreadCount as Integer = 1) as boolean
- LCMS2TransformMBS.TransformMT(inBitmap as LCMS2BitmapMBS, outBitmap as LCMS2BitmapMBS, ThreadCount as Integer = 1) as boolean
Some examples using this class:
- /Images/JPEG/Apple ICC Profile to JPEG File
- /Images/JPEG/JPEG with LCMS/JPEG with LCMS
- /Images/LCMS2/Apple ICC Profile to JPEG File
- /Images/LCMS2/CMYK/CMYK Example
- /Images/LCMS2/Convert Grayscale Tiff to SRGB JPEG
- /Images/LCMS2/Convert image to sRGB JPEG
- /Images/LCMS2/Convert Lab Tiff to SRGB JPEG
- /Images/LCMS2/Image test
- /Images/LCMS2/Transform Threaded
Blog Entries
- ICC color profiling
- MBS Xojo / Real Studio Plugins, version 14.2pr8
- MBS Xojo / Real Studio Plugins, version 13.2pr3
The items on this page are in the following plugins: MBS Images Plugin.
LaunchServicesStringListMBS - LCMS2CIECAM02MBS