Platforms to show: All Mac Windows Linux Cross-Platform
PictureMBS.ImageFormatRofBGR = &h00000011
const, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Plugin version: 9.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the possible image formats.
Notes: This is the imageformat to use if you target only a gray channel in a RGB picture in memory.
const, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Plugin version: 9.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the possible image formats.
Notes: This is the imageformat to use if you target only a gray channel in a RGB picture in memory.
PictureMBS.ImageFormatRofBGRA = &h00000014
const, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Plugin version: 9.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the possible image formats.
Notes: This is the imageformat to use if you target only a gray channel in a RGB picture in memory.
const, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Plugin version: 9.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the possible image formats.
Notes: This is the imageformat to use if you target only a gray channel in a RGB picture in memory.
PictureMBS.ImageFormatRofRGB = &h0000000F
const, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Plugin version: 9.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the possible image formats.
Notes: This is the imageformat to use if you target only a gray channel in a RGB picture in memory.
const, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Plugin version: 9.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the possible image formats.
Notes: This is the imageformat to use if you target only a gray channel in a RGB picture in memory.
PictureMBS.ImageFormatRofRGBA = &h00000012
const, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Plugin version: 9.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the possible image formats.
Notes: This is the imageformat to use if you target only a gray channel in a RGB picture in memory.
const, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Plugin version: 9.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the possible image formats.
Notes: This is the imageformat to use if you target only a gray channel in a RGB picture in memory.
PictureMBS.ImageFormatScaling = &h0000000E
const, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The image format which you need for the temporary PictureMBS.
const, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The image format which you need for the temporary PictureMBS.
PictureMBS.ImageFormatString as String
property, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The format of this picture as a string.
Notes:
Returns for example "RGB" for ImageFormatRGB.
(Read only property)
property, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The format of this picture as a string.
Notes:
Returns for example "RGB" for ImageFormatRGB.
(Read only property)
PictureMBS.ImageFormatUnknown = 0
const, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the possible image formats.
const, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the possible image formats.
PictureMBS.ImageFormatXBGR = &h0000000A
const, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the possible image formats.
const, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the possible image formats.
PictureMBS.ImageFormatXRGB = 5
const, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the possible image formats.
const, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the possible image formats.
PictureMBS.Invert
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Inverts the image data.
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Inverts the image data.
See also:
PictureMBS.Invert(x as integer, y as integer, w as integer, h as integer)
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Inverts the image data in the given area.
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Inverts the image data in the given area.
See also:
PictureMBS.IsGray as Boolean
property, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Whether this picture is a grayscale picture.
Notes:
HasGray is true if IsGray is true.
(Read only property)
property, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Whether this picture is a grayscale picture.
Notes:
HasGray is true if IsGray is true.
(Read only property)
PictureMBS.IsMapping as Boolean
property, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Whether this picture uses virtual memory.
Notes:
If IsMapping is true you should not use the Memory property or the Clone function.
(Read only property)
property, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Whether this picture uses virtual memory.
Notes:
If IsMapping is true you should not use the Memory property or the Clone function.
(Read only property)
PictureMBS.IsRGB as Boolean
property, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Whether the picture is a RGB picture.
Notes:
HasRed, HasBlue and HasGreen are true if IsRGB is true.
(Read only property)
property, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Whether the picture is a RGB picture.
Notes:
HasRed, HasBlue and HasGreen are true if IsRGB is true.
(Read only property)
PictureMBS.MappingBlockSize as Integer
property, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The block size for a picture using virtual memory.
Notes: (Read and Write property)
property, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The block size for a picture using virtual memory.
Notes: (Read and Write property)
PictureMBS.Memory as Memoryblock
property, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Returns a memoryblock without size pointing to the current pixel buffer.
Notes:
Use only if IsMapping is false.
(Read only property)
property, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Returns a memoryblock without size pointing to the current pixel buffer.
Notes:
Use only if IsMapping is false.
(Read only property)
PictureMBS.MemoryTarget as Memoryblock
property, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: If this picture stores its pixels in a memoryblock, you can access the memory block using this property.
Notes: (Read only property)
property, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: If this picture stores its pixels in a memoryblock, you can access the memory block using this property.
Notes: (Read only property)
PictureMBS.MirroredView as PictureMBS
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 10.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Creates a new PictureMBS object which draws into the existing on, but has all rows vertically mirrored.
Notes: So if the new picture draws into the first row, the change will be in the last row of the original picture.
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 10.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Creates a new PictureMBS object which draws into the existing on, but has all rows vertically mirrored.
Notes: So if the new picture draws into the first row, the change will be in the last row of the original picture.
PictureMBS.NeonFilter(dest as PictureMBS) as PictureMBS
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Applies a neon filter to the image.
Notes:
if dest is nil, the picture factory is used to create a new picture.
On success dest or the new picture is returned.
If dest is not nil, it must match the size of the original picture.
Returns nil on any error.
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Applies a neon filter to the image.
Notes:
if dest is nil, the picture factory is used to create a new picture.
On success dest or the new picture is returned.
If dest is not nil, it must match the size of the original picture.
Returns nil on any error.
PictureMBS.OilFilter(dest as PictureMBS, levels as integer, range as integer) as PictureMBS
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Applies a oil filter to the image.
Notes:
if dest is nil, the picture factory is used to create a new picture.
On success dest or the new picture is returned.
If dest is not nil, it must match the size of the original picture.
Levels must be between 0 and 256.
Range must be between 0 and min(width,height).
Returns nil on any error.
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Applies a oil filter to the image.
Notes:
if dest is nil, the picture factory is used to create a new picture.
On success dest or the new picture is returned.
If dest is not nil, it must match the size of the original picture.
Levels must be between 0 and 256.
Range must be between 0 and min(width,height).
Returns nil on any error.
PictureMBS.Parent as PictureMBS
property, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The parent PictureMBS object.
Notes:
One PictureMBS can reference the pixels of another PictureMBS. The parent is referenced in this property so it is not released.
(Read only property)
property, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The parent PictureMBS object.
Notes:
One PictureMBS can reference the pixels of another PictureMBS. The parent is referenced in this property so it is not released.
(Read only property)
PictureMBS.PixelSize as Integer
property, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The size of a pixel in bytes.
Notes:
For example:
1 for Gray
2 for Gray with Alpha
3 for RGB
4 for RGB with Alpha
(Read only property)
property, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The size of a pixel in bytes.
Notes:
For example:
1 for Gray
2 for Gray with Alpha
3 for RGB
4 for RGB with Alpha
(Read only property)
PictureMBS.RawRow(index as integer) as memoryblock
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Returns a memoryblock with the data of this row.
Notes:
This memoryblock is pointing to the original data, so any modification is applied to the picture.
Returns nil on any error.
May raise OutOfBoundsException for invalid index.
For pictures using virtual memory, this memoryblock can become invalid for the next call to any PictureMBS method!
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Returns a memoryblock with the data of this row.
Notes:
This memoryblock is pointing to the original data, so any modification is applied to the picture.
Returns nil on any error.
May raise OutOfBoundsException for invalid index.
For pictures using virtual memory, this memoryblock can become invalid for the next call to any PictureMBS method!
PictureMBS.RedChannel as PictureMBS
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The red channel as a new PictureMBS object.
Example:
Returns nil if this channel does not exist.
No copy is made of the actual pixel data. Modifying the channel picture will modify the original picture.
Use this function to access the pixels of the channel directly.
The resulting PictureMBS object is a grayscale picture.
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The red channel as a new PictureMBS object.
Example:
dim p as new PictureMBS(100,100,PictureMBS.ImageFormatRGB)
dim r as PictureMBS = p.RedChannel
r.fillrect(100) // fill only red channel
Notes: Returns nil if this channel does not exist.
No copy is made of the actual pixel data. Modifying the channel picture will modify the original picture.
Use this function to access the pixels of the channel directly.
The resulting PictureMBS object is a grayscale picture.
PictureMBS.RedOffset as Integer
property, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The internal offset for pixels in the red channel.
Notes: (Read only property)
property, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The internal offset for pixels in the red channel.
Notes: (Read only property)
PictureMBS.RGBChannels as PictureMBS
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The RGB channels as a new PictureMBS object.
Example:
Returns nil if the image is not a RGB picture.
No copy is made of the actual pixel data. Modifying the channel picture will modify the original picture.
Use this function to access the pixels of the channel directly.
The resulting PictureMBS object is a RGB picture.
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The RGB channels as a new PictureMBS object.
Example:
dim p as new PictureMBS(100,100,PictureMBS.ImageFormatRGBA)
dim r as PictureMBS = p.RGBChannels
r.fillrect(100) // fill only color channels
Notes: Returns nil if the image is not a RGB picture.
No copy is made of the actual pixel data. Modifying the channel picture will modify the original picture.
Use this function to access the pixels of the channel directly.
The resulting PictureMBS object is a RGB picture.
PictureMBS.Rotate(angle as double, Red as integer, Green as integer, Blue as integer, Alpha as integer, Gray as integer) as PictureMBS
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Rotates the picture by the given degree.
Notes:
With Red, Blue, Green, Alpha and Gray specify the color of the fill color.
If dest is nil, the PictureFactoryMBS object (local on self or global) is used to create the new picture.
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Rotates the picture by the given degree.
Notes:
With Red, Blue, Green, Alpha and Gray specify the color of the fill color.
If dest is nil, the PictureFactoryMBS object (local on self or global) is used to create the new picture.
PictureMBS.Rotate180
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Rotates the picture by 180 degree.
Notes:
Same as HMirror and VMirror together.
There are two Rotate180 methods. One makes a copy and one not. This one does not make a copy.
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Rotates the picture by 180 degree.
Notes:
Same as HMirror and VMirror together.
There are two Rotate180 methods. One makes a copy and one not. This one does not make a copy.
See also:
PictureMBS.Rotate180(dest as PictureMBS=nil) as PictureMBS
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Rotates the picture by 180 degree.
Notes:
If dest is nil, the PictureFactoryMBS object (local on self or global) is used to create the new picture.
Same as HMirror and VMirror together.
There are two Rotate180 methods. One makes a copy and one not. This one does make a copy.
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Rotates the picture by 180 degree.
Notes:
If dest is nil, the PictureFactoryMBS object (local on self or global) is used to create the new picture.
Same as HMirror and VMirror together.
There are two Rotate180 methods. One makes a copy and one not. This one does make a copy.
See also:
PictureMBS.Rotate270(dest as PictureMBS=nil) as PictureMBS
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Rotates the picture by 270 degree.
Notes: If dest is nil, the PictureFactoryMBS object (local on self or global) is used to create the new picture.
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Rotates the picture by 270 degree.
Notes: If dest is nil, the PictureFactoryMBS object (local on self or global) is used to create the new picture.
PictureMBS.Rotate270slow(dest as PictureMBS=nil) as PictureMBS
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Rotates the picture by 270 degree.
Notes: If dest is nil, the PictureFactoryMBS object (local on self or global) is used to create the new picture.
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Rotates the picture by 270 degree.
Notes: If dest is nil, the PictureFactoryMBS object (local on self or global) is used to create the new picture.
PictureMBS.Rotate90(dest as PictureMBS=nil) as PictureMBS
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Rotates the picture by 90 degree.
Notes: If dest is nil, the PictureFactoryMBS object (local on self or global) is used to create the new picture.
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Rotates the picture by 90 degree.
Notes: If dest is nil, the PictureFactoryMBS object (local on self or global) is used to create the new picture.
PictureMBS.Rotate90slow(dest as PictureMBS=nil) as PictureMBS
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Rotates the picture by 90 degree.
Notes: If dest is nil, the PictureFactoryMBS object (local on self or global) is used to create the new picture.
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Rotates the picture by 90 degree.
Notes: If dest is nil, the PictureFactoryMBS object (local on self or global) is used to create the new picture.
PictureMBS.Row(index as integer) as memoryblock
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: A memoryblock with the data of this row.
Notes:
You can get and set a row with this method in the native format.
If you set the row, use a memoryblock with at least RowSize bytes.
If you query the row, you will get a copy of the row bytes in a new memoryblock.
Returns "" on any error.
May raise OutOfBoundsException for invalid index.
(Read and Write computed property)
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: A memoryblock with the data of this row.
Notes:
You can get and set a row with this method in the native format.
If you set the row, use a memoryblock with at least RowSize bytes.
If you query the row, you will get a copy of the row bytes in a new memoryblock.
Returns "" on any error.
May raise OutOfBoundsException for invalid index.
(Read and Write computed property)
PictureMBS.RowInFormat(index as integer, ImageFormat as integer) as memoryblock
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: A memoryblock with the data of this row in the format you request.
Notes:
You can get and set a row with this method in the given format.
If you set the row, use a memoryblock with at least Width*PixelSize bytes. PixelSize is the format dependend size in bytes for one pixel.
If you query the row, you will get a copy of the row bytes in a new memoryblock.
Returns nil on any error.
May raise OutOfBoundsException for invalid index.
(Read and Write computed property)
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: A memoryblock with the data of this row in the format you request.
Notes:
You can get and set a row with this method in the given format.
If you set the row, use a memoryblock with at least Width*PixelSize bytes. PixelSize is the format dependend size in bytes for one pixel.
If you query the row, you will get a copy of the row bytes in a new memoryblock.
Returns nil on any error.
May raise OutOfBoundsException for invalid index.
(Read and Write computed property)
See also:
PictureMBS.RowInFormat(index as integer, ImageFormat as integer, InvertAlpha as boolean) as memoryblock
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.4, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: A memoryblock with the data of this row in the format you request.
Notes:
You can get and set a row with this method in the given format.
If you set the row, use a memoryblock with at least Width*PixelSize bytes. PixelSize is the format dependend size in bytes for one pixel.
If you query the row, you will get a copy of the row bytes in a new memoryblock.
Returns nil on any error.
May raise OutOfBoundsException for invalid index.
If InvertAlpha is true, the alpha values are inverted by using A=255-A.
(Read and Write computed property)
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.4, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: A memoryblock with the data of this row in the format you request.
Notes:
You can get and set a row with this method in the given format.
If you set the row, use a memoryblock with at least Width*PixelSize bytes. PixelSize is the format dependend size in bytes for one pixel.
If you query the row, you will get a copy of the row bytes in a new memoryblock.
Returns nil on any error.
May raise OutOfBoundsException for invalid index.
If InvertAlpha is true, the alpha values are inverted by using A=255-A.
(Read and Write computed property)
See also:
PictureMBS.RowOffset as Integer
property, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The internal row offset.
Notes:
Only used with clipping images.
(Read only property)
property, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The internal row offset.
Notes:
Only used with clipping images.
(Read only property)
PictureMBS.RowSize as Integer
property, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The size of one row in bytes.
Notes:
Additional bytes may be needed per row for better alignment of the data.
Also using virtual memory functions requires alignment.
(Read only property)
property, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The size of one row in bytes.
Notes:
Additional bytes may be needed per row for better alignment of the data.
Also using virtual memory functions requires alignment.
(Read only property)
PictureMBS.RowStringInFormat(index as integer, ImageFormat as integer) as string
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The row as a string.
Notes:
You can get and set a row with this method in the native format.
If you set the row, use a memoryblock with at least RowSize bytes.
If you query the row, you will get a copy of the row bytes in a string.
Returns nil on any error.
May raise OutOfBoundsException for invalid index.
(Read and Write computed property)
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The row as a string.
Notes:
You can get and set a row with this method in the native format.
If you set the row, use a memoryblock with at least RowSize bytes.
If you query the row, you will get a copy of the row bytes in a string.
Returns nil on any error.
May raise OutOfBoundsException for invalid index.
(Read and Write computed property)
PictureMBS.Scale(source as PictureMBS, temp as PictureMBS, mode as integer, width as integer, height as integer) as boolean
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Scales the picture to the given size.
Notes:
On low memory this function can fail or the image may look bad. (e.g. all black)
The size of the temporary picture must have the size of the destination width and the source height. Use ImageFormatScaling when you create the temp image to give it the correct size.
For scaling with the same size as the picture already has, the scaling is still performed.
Returns true on success and false on any error. (e.g. width=0)
Use the constants for the mod:
This function is optimized for several image formats:
- Gray to Gray.
- RGB to Gray uses R*0.3+G*0.59+B*0.11.
- RGB to RGB.
- Gray to RGB fill red, green and blue with the same gray value.
If an alpha channel exists in both images, it is copied.
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Scales the picture to the given size.
Notes:
On low memory this function can fail or the image may look bad. (e.g. all black)
The size of the temporary picture must have the size of the destination width and the source height. Use ImageFormatScaling when you create the temp image to give it the correct size.
For scaling with the same size as the picture already has, the scaling is still performed.
Returns true on success and false on any error. (e.g. width=0)
Use the constants for the mod:
| ScaleTriangle | triangle |
| ScaleBox | box, nereast neighbor |
| ScaleLanczos3 | lanczos 3 |
| ScaleLanczos8 | lanczos 8 |
| ScaleMitchell | mitchell |
| ScalePoly3 | poly 3 |
| ScaleCubic | cubic |
This function is optimized for several image formats:
- Gray to Gray.
- RGB to Gray uses R*0.3+G*0.59+B*0.11.
- RGB to RGB.
- Gray to RGB fill red, green and blue with the same gray value.
If an alpha channel exists in both images, it is copied.
PictureMBS.ScaleBox = 2
const, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the scale modes for the Scale function.
const, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the scale modes for the Scale function.
PictureMBS.ScaleCubic = 7
const, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the scale modes for the Scale function.
const, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the scale modes for the Scale function.
PictureMBS.ScaleFast(source as PictureMBS, width as integer, height as integer) as boolean
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Scales the picture to the new size fast.
Notes:
Destination is source.
Returns true on success and false on failure.
This is a low quality alorithm, but it is fast.
This function is optimized for several image formats:
- Gray to Gray.
- RGB to Gray uses R*0.3+G*0.59+B*0.11.
- RGB to RGB.
- Gray to RGB fill red, green and blue with the same gray value.
If an alpha channel exists in both images, it is copied.
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Scales the picture to the new size fast.
Notes:
Destination is source.
Returns true on success and false on failure.
This is a low quality alorithm, but it is fast.
This function is optimized for several image formats:
- Gray to Gray.
- RGB to Gray uses R*0.3+G*0.59+B*0.11.
- RGB to RGB.
- Gray to RGB fill red, green and blue with the same gray value.
If an alpha channel exists in both images, it is copied.
PictureMBS.ScaleLanczos3 = 3
const, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the scale modes for the Scale function.
const, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the scale modes for the Scale function.
PictureMBS.ScaleLanczos8 = 4
const, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the scale modes for the Scale function.
const, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the scale modes for the Scale function.
PictureMBS.ScaleMitchell = 5
const, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the scale modes for the Scale function.
const, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the scale modes for the Scale function.
PictureMBS.ScalePoly3 = 6
const, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the scale modes for the Scale function.
const, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the scale modes for the Scale function.
PictureMBS.ScaleTriangle = 1
const, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the scale modes for the Scale function.
const, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the scale modes for the Scale function.
PictureMBS.SolarizeFilter(dest as PictureMBS) as PictureMBS
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Applies the solarize filter to the picture.
Notes:
if dest is nil, the picture factory is used to create a new picture.
On success dest or the new picture is returned.
If dest is not nil, it must match the size of the original picture.
Returns nil on any error.
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Applies the solarize filter to the picture.
Notes:
if dest is nil, the picture factory is used to create a new picture.
On success dest or the new picture is returned.
If dest is not nil, it must match the size of the original picture.
Returns nil on any error.
PictureMBS.StampFilter(dest as PictureMBS, radius as double, threshold as double, softness as double, Black as Color, White as Color) as PictureMBS
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Applies the stamp filter to the picture.
Notes:
if dest is nil, the picture factory is used to create a new picture.
On success dest or the new picture is returned.
If dest is not nil, it must match the size of the original picture.
Returns nil on any error.
method, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Console safe, Plugin version: 9.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Applies the stamp filter to the picture.
Notes:
if dest is nil, the picture factory is used to create a new picture.
On success dest or the new picture is returned.
If dest is not nil, it must match the size of the original picture.
Returns nil on any error.
PictureMBS.Target as Picture
property, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The target picture.
Notes:
if this PictureMBS references the pixels of a REALbasic picture, this property keeps a reference to this target picture.
(Read only property)
property, Large Picture, MBS REALbasic LargePicture Plugin (Image), class PictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The target picture.
Notes:
if this PictureMBS references the pixels of a REALbasic picture, this property keeps a reference to this target picture.
(Read only property)
The items on this page are in the following plugins: MBS REALbasic LargePicture Plugin.
Links
MBS Realbasic Plugins - Pfarrgemeinde Messdiener Nickenich