Platforms to show: All Mac Windows Linux Cross-Platform
Back to TiffPictureMBS class.
TiffPictureMBS.WriteRGB as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | TIFF | MBS Images Plugin | 4.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Uses the pictures in the mask and pict properties to write a picture.
If mask is set, the picture is saved with an alpha channel.
The following settings are made before the image data is written:
PlanarConfig = PLANARCONFIG_CONTIG
Photometric = PHOTOMETRIC_RGB
BitsPerSample = 8
SamplesPerPixel = 3
FillOrder = FILLORDER_MSB2LSB
VerticalResolution = 72
HorizontalResolution = 72
Orientation = ORIENTATION_TOPLEFT
ResolutionUnit = RESUNIT_INCH
Compression = COMPRESSION_NONE
You may change settings before or later. For example if you set Compression before it should be used for writing image data to the file.
Returns true on success.
This method uses the YieldTicks property and may yield time to other threads.
Some examples using this method:
The items on this page are in the following plugins: MBS Images Plugin.