GraphicsFormats REALbasic Plugin

PngImporter Class

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

Object
   PngImporter

class PngImporter

Properties

GammaUse this property to alter the Embedded Gamma or default Gamma values for the Import.
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:

  • 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