Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSBitmapImageRepMBS class.

NSBitmapImageRepMBS.NSAlphaFirstBitmapFormat = 1

Type Topic Plugin Version
const Cocoa Drawing MBS MacBase Plugin 12.0
One of the bitmap format constants.

If 0, alpha values are the last component.
For example, CMYKA and RGBA.
Available in Mac OS X v10.4 and later.

NSBitmapImageRepMBS.NSAlphaNonpremultipliedBitmapFormat = 2

Type Topic Plugin Version
const Cocoa Drawing MBS MacBase Plugin 12.0
One of the bitmap format constants.

If 0, alpha values are premultiplied.
Available in Mac OS X v10.4 and later.

NSBitmapImageRepMBS.NSBMPFileType = 1

Type Topic Plugin Version
const Cocoa Drawing MBS MacBase Plugin 12.0
One of the Image format file type constants.

Windows bitmap image (BMP) format

NSBitmapImageRepMBS.NSFloatingPointSamplesBitmapFormat = 4

Type Topic Plugin Version
const Cocoa Drawing MBS MacBase Plugin 12.0
One of the bitmap format constants.

If 0, samples are integer values.
Available in Mac OS X v10.4 and later.

NSBitmapImageRepMBS.NSGIFFileType = 2

Type Topic Plugin Version
const Cocoa Drawing MBS MacBase Plugin 12.0
One of the Image format file type constants.

Graphics Image Format (GIF), originally created by CompuServe for online downloads

NSBitmapImageRepMBS.NSImageRepLoadStatusCompleted = -6

Type Topic Plugin Version
const Cocoa Drawing MBS MacBase Plugin 12.0
One of the image loading state constants.

Enough data has been provided to successfully decompress the image (regardless of the complete: flag).

NSBitmapImageRepMBS.NSImageRepLoadStatusInvalidData = -4

Type Topic Plugin Version
const Cocoa Drawing MBS MacBase Plugin 12.0
One of the image loading state constants.

An error occurred during image decompression. The image contains the portions of the data that have already been successfully decompressed, if any.

NSBitmapImageRepMBS.NSImageRepLoadStatusReadingHeader = -2

Type Topic Plugin Version
const Cocoa Drawing MBS MacBase Plugin 12.0
One of the image loading state constants.

The image format is known, but not enough data has been read to determine the size, depth, etc., of the image. You should continue to provide more data.

NSBitmapImageRepMBS.NSImageRepLoadStatusUnexpectedEOF = -5

Type Topic Plugin Version
const Cocoa Drawing MBS MacBase Plugin 12.0
One of the image loading state constants.

incrementalLoadFromData was called with true, but not enough data was available for decompression. The image contains the portions of the data that have already been successfully decompressed, if any.

NSBitmapImageRepMBS.NSImageRepLoadStatusUnknownType = -1

Type Topic Plugin Version
const Cocoa Drawing MBS MacBase Plugin 12.0
One of the image loading state constants.

Not enough data to determine image format. You should continue to provide more data.

NSBitmapImageRepMBS.NSImageRepLoadStatusWillNeedAllData = -3

Type Topic Plugin Version
const Cocoa Drawing MBS MacBase Plugin 12.0
One of the image loading state constants.

Incremental loading cannot be supported. Until you call incrementalLoadFromData with true, this status will be returned. You can continue to call the method but no decompression will take place. Once you do call the method with true, then the image will be decompressed and one of the final three status messages will be returned.

NSBitmapImageRepMBS.NSJPEG2000FileType = 5

Type Topic Plugin Version
const Cocoa Drawing MBS MacBase Plugin 12.0
One of the Image format file type constants.

JPEG 2000 file format.

NSBitmapImageRepMBS.NSJPEGFileType = 3

Type Topic Plugin Version
const Cocoa Drawing MBS MacBase Plugin 12.0
One of the Image format file type constants.

JPEG format.

NSBitmapImageRepMBS.NSPNGFileType = 4

Type Topic Plugin Version
const Cocoa Drawing MBS MacBase Plugin 12.0
One of the Image format file type constants.

Portable Network Graphics (PNG) format.

NSBitmapImageRepMBS.NSTIFFCompressionCCITTFAX3 = 3

Type Topic Plugin Version
const Cocoa Drawing MBS MacBase Plugin 12.0
One of the Tiff Compression constants

CCITT Fax Group 3 compression.
Used for 1-bit fax images sent over telephone lines.

NSBitmapImageRepMBS.NSTIFFCompressionCCITTFAX4 = 4

Type Topic Plugin Version
const Cocoa Drawing MBS MacBase Plugin 12.0
One of the Tiff Compression constants

CCITT Fax Group 4 compression.
Used for 1-bit fax images sent over ISDN lines.

NSBitmapImageRepMBS.NSTIFFCompressionJPEG = 6

Type Topic Plugin Version
const Cocoa Drawing MBS MacBase Plugin 12.0
One of the Tiff Compression constants

JPEG compression. No longer supported for input or output.

NSBitmapImageRepMBS.NSTIFFCompressionLZW = 5

Type Topic Plugin Version
const Cocoa Drawing MBS MacBase Plugin 12.0
One of the Tiff Compression constants

LZW compression.

NSBitmapImageRepMBS.NSTIFFCompressionNEXT = 32766

Type Topic Plugin Version
const Cocoa Drawing MBS MacBase Plugin 12.0
One of the Tiff Compression constants

NeXT compressed. Supported for input only.

NSBitmapImageRepMBS.NSTIFFCompressionNone = 1

Type Topic Plugin Version
const Cocoa Drawing MBS MacBase Plugin 12.0
One of the Tiff Compression constants

No compression.

NSBitmapImageRepMBS.NSTIFFCompressionOldJPEG = 32865

Type Topic Plugin Version
const Cocoa Drawing MBS MacBase Plugin 12.0
One of the Tiff Compression constants

Old JPEG compression. No longer supported for input or output.

NSBitmapImageRepMBS.NSTIFFCompressionPackBits = 32773

Type Topic Plugin Version
const Cocoa Drawing MBS MacBase Plugin 12.0
One of the Tiff Compression constants

PackBits compression.

NSBitmapImageRepMBS.NSTIFFFileType = 0

Type Topic Plugin Version
const Cocoa Drawing MBS MacBase Plugin 12.0
One of the Image format file type constants.

Tagged Image File Format (TIFF)

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


💬 Ask a question or report a problem
The biggest plugin in space...