GraphicsFormats REALbasic Plugin

RawPngExporter Class

A class to Export Pictures to a PNG format. The result can be written to a File, string or IBinaryStreamWriter.

This class uses RawBitmap that is defined in TypeLib instead of REALbasic Pictures. RawBitmap can be used in console applications.

Object
   RawPngExporter

class RawPngExporter

Properties

GammaUse this property to alter the default Gamma values for the Export.
IgnoreMaskSet to true if Picture masks should not be exported.

Methods

SaveToFileExports a RawBitmap to a PNG file.
SaveToStreamExports a RawBitmap formatted as PNG to a IBinaryStreamWriter.
SaveToStringExports a picture formatted as PNG to a String.

Supported Platforms:

  • PPC - MacOS 9
  • Carbon - MacOS 9 and MacOS X (PEF)
  • MacOS X PPC - (Mach-O)
  • MacOS X Universal Binary (Mach-O)
  • Win32 - Windows
  • Linux x86