GraphicsFormats Xojo plugin |
|
RawPngImporter Class (console safe)
A class to Import RawBitmap 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 Xojo Pictures. RawBitmap can be used in console applications.
This class will import ICC Color Profile if the image has ICC Color Profile.
The RawPngImporter can import images with either 8 bit per channel or 16 bit per channel, maintaining full precision.
Object
RawPngImporter
class RawPngImporter implements
IRawBitmapReader
Properties
Author | Returns the Author metadata field which is for name of image's creator |
Copyright | Returns theCopyright metadata field which is for copyright notice |
Description | Returns the description metadata field. |
Disclaimer | Returns the disclaimer metadata field which is for legal disclaimer for the image. |
Force8bitDepth | Forces images to be imported with channel depth as 8 bits even if the source image has 16 bits. |
Gamma | Gamma value that was read from the image. |
LastError | Returns code of last error that occurred or zero if no error. |
ScreenGamma | Sets screen gamma to be used. You can use this property to forces 100% same result on all platforms. |
Software | Returns the Software metadata field which is for name of the software used to create the image |
Source | Returns the Source metadata field which is for name of the device used to create the image |
Title | Returns the Title metadata field which is for short one line title for image |
Warning | Returns the Warning metadata field which is for warnings of nature of content |
Methods
Constants
Version = 7.5 | |
Supported Platforms:
MacOS X Cocoa 32 bitMacOS X Cocoa 64 bitWindows 32 bitWindows 64 bitLinux 32 bitLinux 64 bitLinux ARM