Platforms to show: All Mac Windows Linux Cross-Platform

Back to PictureEditorMBS class.

PictureEditorMBS.AllData as Memoryblock

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Graphics & Pictures MBS Picture Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The memoryblock with the original image data.

Changes here will be visible in the picture.
This memoryblock has a size property with value 0!
No bound checking can be done by Xojo on this memoryblock.

Returns nil for console pictures.
(Read only property)

PictureEditorMBS.AllDataCopy as Memoryblock

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Graphics & Pictures MBS Picture Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Copies the data for the current picture into a new memoryblock.

Changes to this memoryblock will not be visible in the original picture.
(Read only property)

PictureEditorMBS.BlueOffset as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Graphics & Pictures MBS Picture Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The platform dependend offset of the blue channel in the RGB data.

A value between 0 and 3.
(Read only property)

PictureEditorMBS.BytesPerPixel as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Graphics & Pictures MBS Picture Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Number of bytes per pixel.

Most times 4, but for some platforms 3.
(Read only property)

PictureEditorMBS.DataPtr as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Graphics & Pictures MBS Picture Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The memory address where the data is stored.

Maybe useful for declares.
Returns nil for console pictures.
(Read only property)

PictureEditorMBS.GreenOffset as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Graphics & Pictures MBS Picture Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The platform dependend offset of the green channel in the RGB data.

A value between 0 and 3.
(Read only property)

PictureEditorMBS.HasAlphaChannel as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Graphics & Pictures MBS Picture Plugin 14.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Whether an alpha channel exists.

(Read only property)

PictureEditorMBS.Height as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Graphics & Pictures MBS Picture Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The height of the image in pixels.

(Read only property)

PictureEditorMBS.Picture as Picture

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Graphics & Pictures MBS Picture Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The original picture reference.

(Read only property)

PictureEditorMBS.RedOffset as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Graphics & Pictures MBS Picture Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The platform dependend offset of the red channel in the RGB data.

A value between 0 and 3.
(Read only property)

PictureEditorMBS.RowBytes as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Graphics & Pictures MBS Picture Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The width of an image row in bytes.

RowBytes can be width*bytesPerPixel, but often it is not.
(Read only property)

PictureEditorMBS.Width as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Graphics & Pictures MBS Picture Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The width of the image in pixels.

(Read only property)

The items on this page are in the following plugins: MBS Picture Plugin.


The biggest plugin in space...