Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSPICTImageRepMBS class.

NSPICTImageRepMBS.Constructor(data as Memoryblock)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Drawing MBS MacBase Plugin 12.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Returns an NSPICTImageRep object initialized with the specified data.

data: A data object containing the PICT data.

Initialization may fail if the data does not conform to the PICT file format.
On success the handle property is not zero.

If the PICT data is obtained directly from a PICT file or document, this method ignores most of the 512-byte header that occurs before the start of the actual picture data. It may retrieve some relevant meta information from the header.

NSPICTImageRepMBS.PICTRepresentation as Memoryblock

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Drawing MBS MacBase Plugin 12.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Returns the receiver's PICT data.

A data object containing the PICT data. The returned data does not include the 512-byte header, if it was present in the original data. If you want to write the returned data to a file, you must precede it with a 512-byte header (containing all zeros) if you want to conform to the PICT document format.

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


The biggest plugin in space...