Platforms to show: All Mac Windows Linux Cross-Platform

NSBitmapImageRepMBS.bitmapData as Ptr
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Drawing MBS MacBase Plugin 12.0 Yes No No Yes, macOS only No
Function: Returns a pointer to the bitmap data.
Notes:
If the data is planar, returns a pointer to the first plane.
(Read only property)

Feedback, Comments & Corrections

NSBitmapImageRepMBS.bitmapFormat as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Drawing MBS MacBase Plugin 12.0 Yes No No Yes, macOS only No
Function: Returns the bitmap format of the receiver.
Notes:
Returns 0 by default. The return value can indicate several different attributes, which are described in Constants.
(Read only property)

Feedback, Comments & Corrections

NSBitmapImageRepMBS.bitsPerPixel as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Drawing MBS MacBase Plugin 12.0 Yes No No Yes, macOS only No
Function: Returns the number of bits allocated for each pixel in each plane of data.
Notes:
This number is normally equal to the number of bits per sample or, if the data is in meshed configuration, the number of bits per sample times the number of samples per pixel. It can be explicitly set to another value (in initWithBitmapDataPlanes) in case extra memory is allocated for each pixel. This may be the case, for example, if pixel data is aligned on byte boundaries.
(Read only property)

Feedback, Comments & Corrections

NSBitmapImageRepMBS.bytesPerPlane as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Drawing MBS MacBase Plugin 12.0 Yes No No Yes, macOS only No
Function: Returns the number of bytes in each plane or channel of data.
Notes:
This number is calculated from the number of bytes per row and the height of the image.
(Read only property)

Feedback, Comments & Corrections

NSBitmapImageRepMBS.bytesPerRow as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Drawing MBS MacBase Plugin 12.0 Yes No No Yes, macOS only No
Function: Returns the minimum number of bytes required to specify a scan line (a single row of pixels spanning the width of the image) in each data plane.
Notes:
If not explicitly set to another value (in initWithBitmapDataPlanes), this number will be figured from the width of the image, the number of bits per sample, and, if the data is in a meshed configuration, the number of samples per pixel. It can be set to another value to indicate that each row of data is aligned on word or other boundaries.
(Read only property)

Feedback, Comments & Corrections

NSBitmapImageRepMBS.CGImage as Variant
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Drawing MBS MacBase Plugin 13.5 Yes No No Yes, macOS only No
Function: Returns the CGImageMBS for this image representation.
Notes:
If the image was created using a CGImage, you can get it back.
Else a new CGImage may be created for you.
(Read only property)

Feedback, Comments & Corrections

NSBitmapImageRepMBS.colorSpace as NSColorSpaceMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Drawing MBS MacBase Plugin 12.0 Yes No No Yes, macOS only No
Function: Returns the image rep's colorSpace
Notes:
Available in Mac OS X v10.6 and later.
(Read only property)

Feedback, Comments & Corrections

NSBitmapImageRepMBS.isPlanar as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Drawing MBS MacBase Plugin 12.0 Yes No No Yes, macOS only No
Function: Returns true if image data is a planar configuration and false if its in a meshed configuration.
Notes:
In a planar configuration, the image data is segregated into a separate plane for each color and coverage component. In a meshed configuration, the data is integrated into a single plane.
(Read only property)

Feedback, Comments & Corrections

NSBitmapImageRepMBS.numberOfPlanes as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Drawing MBS MacBase Plugin 12.0 Yes No No Yes, macOS only No
Function: Returns the number of separate planes image data is organized into.
Notes:
This number is the number of samples per pixel if the data has a separate plane for each component (isPlanar returns true) and 1 if the data is meshed (isPlanar returns false).
(Read only property)

Feedback, Comments & Corrections

NSBitmapImageRepMBS.samplesPerPixel as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Drawing MBS MacBase Plugin 12.0 Yes No No Yes, macOS only No
Function: Returns the number of components in the data.
Notes:
The returned value includes both color components and the coverage component, if present.
(Read only property)

Feedback, Comments & Corrections

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

The biggest plugin in space...




Links
MBS FileMaker tutorial videos