GraphicsFormats Xojo plugin

RawBMPImporter Class

A class to Import BMP picture into RawBitmap. 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.

Various of depths are supported as well as BMP files with palettes.

Object
   RawBMPImporter

class RawBMPImporter implements

IRawBitmapReader

IRawBitmapReaderV2

Properties

ErrorMessageError message for last error that occurred.
LastErrorReturns enum error code for last error that occurred.

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.
OpenFromFileOpens a BMP Image from a file, returning it as RawBitmap.
OpenFromStringOpens a BMP Image from a BMP formatted string, returning it as RawBitmap.
ReadHeaderReads only header information from image stored in string to get basic information and not decode the whole image.
ReadHeaderReads only header information from image stored in file to get basic information and not decode the whole image.
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 = 7.5

Supported Platforms:

  • MacOS X Cocoa 32 bit
  • MacOS X Cocoa 64 bit
  • Windows 32 bit
  • Windows 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM

    Unsupported Platforms:

  • MacOS X Carbon