Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Back to JPEG2000MBS class.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | JPEG | MBS Images Plugin | 15.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Called automatically by destructor for you.
You can call it after you are done to free memory now.
JPEG2000MBS.Compress as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | JPEG | MBS Images Plugin | 15.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Please use first InitCompress, than loop over rows and use SetRow to fill in data.
This method will compress image and set ImageData property.
Returns true on success and false on failure.
JPEG2000MBS.GetRow(Index as Integer, Row as MemoryBlock = nil) as MemoryBlock
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | JPEG | MBS Images Plugin | 15.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If you pass in a memoryblock, we use it, else we create a new one.
So you can pass in memoryblock from last call to GetRow.
Returns nil in case of error.
JPEG2000MBS.InitCompress(Width as Integer, Height as Integer, BytesPerPixel as Integer, BytesPerRow as Integer = 0) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | JPEG | MBS Images Plugin | 15.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns true on success or false on failure.
If BytesPerRow is zero, we calculate it based on BytesPerPixel and Width.
BytesPerPixel can be 1 for gray, 3 for RGB and 4 for RGBA.
JPEG2000MBS.InitDecompress(ImageData as MemoryBlock) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | JPEG | MBS Images Plugin | 15.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns true on success or false on failure.
BytesPerPixel is set to 1 for gray, 3 for RGB and 4 for RGBA.
JPEG2000MBS.SetRow(Index as Integer, Row as MemoryBlock) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | JPEG | MBS Images Plugin | 15.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns true on success.
The items on this page are in the following plugins: MBS Images Plugin.