Platforms to show: All Mac Windows Linux Cross-Platform
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
global method | Graphics & Pictures | MBS Picture Plugin | 6.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns nil on any error.
source should not be nil.
offset should be 0 or bigger and is the start position in the memoryblock.
The function will crash if the memoryblock is too small. Needs width*height*PixelByteSize bytes in the memoryblock.
Does not access the mask inside the image!
Data is copied from memory block to the new picture, not referenced.
See also:
- MemoryblockGrayToPictureMBS(source as memoryblock, offset as Integer, width as Integer, height as Integer, PixelByteSize as Integer, Red as Integer, Blue as Integer, Green as Integer) as picture
- MemoryblockGrayToPictureMBS(source as memoryblock, offset as Integer, width as Integer, height as Integer, PixelByteSize as Integer, Red() as Integer, Blue() as Integer, Green() as Integer) as picture
Some examples using this global method:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
global method | Graphics & Pictures | MBS Picture Plugin | 8.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This variantion of this method Multiplies the gray value with Red, Blue and Green and divided by 256.
Returns nil on any error.
source should not be nil.
offset should be 0 or bigger and is the start position in the memoryblock.
The function will crash if the memoryblock is too small. Needs width*height*PixelByteSize bytes in the memoryblock.
Does not access the mask inside the image!
Data is copied from memory block to the new picture, not referenced.
See also:
- MemoryblockGrayToPictureMBS(source as memoryblock, offset as Integer, width as Integer, height as Integer, PixelByteSize as Integer) as picture
- MemoryblockGrayToPictureMBS(source as memoryblock, offset as Integer, width as Integer, height as Integer, PixelByteSize as Integer, Red() as Integer, Blue() as Integer, Green() as Integer) as picture
Some examples using this global method:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
global method | Graphics & Pictures | MBS Picture Plugin | 8.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This variantion of this method lookups the Red, Green and Blue values for the next pixel by using the gray value as index.
The arrays should have 256 elements.
Returns nil on any error.
source should not be nil.
offset should be 0 or bigger and is the start position in the memoryblock.
The function will crash if the memoryblock is too small. Needs width*height*PixelByteSize bytes in the memoryblock.
Does not access the mask inside the image!
Data is copied from memory block to the new picture, not referenced.
See also:
- MemoryblockGrayToPictureMBS(source as memoryblock, offset as Integer, width as Integer, height as Integer, PixelByteSize as Integer) as picture
- MemoryblockGrayToPictureMBS(source as memoryblock, offset as Integer, width as Integer, height as Integer, PixelByteSize as Integer, Red as Integer, Blue as Integer, Green as Integer) as picture
Some examples using this global method:
The items on this page are in the following plugins: MBS Picture Plugin.