GraphicsFormats Xojo plugin

RawBMPExporter Class (console safe)

A class to Export RawBitmap to a BMP format. The result can be written to a File or String.

Alpha channels are supported but not many programs that support BMP actually know how to use BMP with alpha channels.

Object
   RawBMPExporter

class RawBMPExporter implements

IRawBitmapWriter

IRawBitmapWriterV2

Properties

Aborted (console safe) Returns true if the export was aborted by progress handler.
ErrorMessage (console safe) Error message for last error that occurred.
LastError (console safe) Returns enum error code for last error that occurred.
ProgressHandler (console safe) If delegate is assigned to this property then the exporter will report progress to the delegate method and the export can also be canceled from the delegate.

Methods

FileExtensions (console safe) Returns array of file extensions which this image format can use.
GetLastErrorCode (console safe) Same as the LastError property but this one returns it as Integer to full-fill the standard interface.
InternetMediaTypes (console safe) Returns array of internet media types which this image format can use.
SaveToFile (console safe) Saves a bitmap to a BMP file.
SaveToString (console safe) Saves a bitmap to BMP formatted string.
UTI (console safe) Returns UTI identifier for the file format of this class.
UTIConformsTo (console safe) Returns UTI conforms to identifier for the file format of this class.
UTIDescription (console safe) Returns UTI description for the file format of this class.

Enumerations

ErrorValuesEnum representing error codes which this class can return.

Constants

Version = 12.0

Supported Platforms:

  • macOS Intel 64 bit
  • macOS Apple Silicon
  • Windows 32 bit
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM 32 bit
  • Linux ARM 64 bit
  • iOS