GraphicsFormats Xojo plugin

RawBMPExporter Class

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

AbortedReturns true if the export was aborted by progress handler.
ErrorMessageError message for last error that occurred.
LastErrorReturns enum error code for last error that occurred.
ProgressHandlerIf 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

FileExtensionsReturns array of file extensions which this image format can use.
GetLastErrorCodeSame as the LastError property but this one returns it as Integer to full-fill the standard interface.
InternetMediaTypesReturns array of internet media types which this image format can use.
SaveToFileSaves a bitmap to a BMP file.
SaveToStringSaves a bitmap to BMP formatted string.
UTIReturns UTI identifier for the file format of this class.
UTIConformsToReturns UTI conforms to identifier for the file format of this class.
UTIDescriptionReturns UTI description for the file format of this class.

Enumerations

ErrorValuesEnum representing error codes which this class can return.

Constants

Version = 10.02

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