GraphicsFormats Xojo Plugin for Console targets

PngImporterConsole Class (console only)

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

Object
   PngImporterConsole

class PngImporterConsole implements

IGraphicsImporter

Properties

Author (console only) Returns the Author metadata field which is for name of image's creator
Copyright (console only) Returns theCopyright metadata field which is for copyright notice
Description (console only) Returns the description metadata field.
Disclaimer (console only) Returns the disclaimer metadata field which is for legal disclaimer for the image.
Gamma (console only) Use this property to alter the Embedded Gamma or default Gamma values for the Import.
IgnoreMask (console only) Set to true if alpha channel (Mask) of the picture should be ignored when it is imported.
MaskInAlphaChannel (console only) Set this value to true if wanting the alpha channel returned in new style Xojo alpha channel instead of a Mask.
ScreenGamma (console safe) Sets screen gamma to be used. You can use this property to forces 100% same result on all platforms.
Software (console only) Returns the Software metadata field which is for name of the software used to create the image
Source (console only) Returns the Source metadata field which is for name of the device used to create the image
Title (console only) Returns the Title metadata field which is for short one line title for image
Warning (console only) Returns the Warning metadata field which is for warnings of nature of content

Methods

GetInfoFromFile (console only) Reads image size and metadata from PNG file without reading the whole image.
GetInfoFromStream (console only) Reads image size and metadata from PNG stream without reading the whole image.
GetInfoFromString (console only) Reads image size and metadata from PNG that is stored in a string without reading the whole image.
OpenFromFile (console only) Opens a PNG Image from a file.
OpenFromStream (console only) Opens a PNG Image from a IBinaryStreamWriter.
OpenFromString (console only) Opens a PNG Image from a String.

Supported Platforms:

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