GraphicsFormats REALbasic Plugin

RawPngImporter Class

A class to Import Pictures from a PNG format. The picture can be imported from a File, string or IBinaryStreamReader.

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

Object
   RawPngImporter

class RawPngImporter

Properties

GammaExports a picture formatted as PNG to a IBinaryStreamWriter.
IgnoreMaskSet to true if alpha channel (Mask) of the picture should be ignored when it is imported.

Methods

OpenFromFileOpens a PNG Image from a file.
OpenFromStreamOpens a PNG Image from a IBinaryStreamWriter.
OpenFromStringOpens a PNG Image from a String.

Supported Platforms:

  • MacOS X PPC - (Mach-O)
  • MacOS X Universal Binary (Mach-O)
  • MacOS X Cocoa Universal Binary (Mach-O)
  • Win32 - Windows
  • Linux x86

    Unsupported Platforms: