|
CLASS moImageFile_TARGA
NAME
Load - load an image from a file
Save - save an image to a file
VERSION
Version: 1.2.0
SYNOPSIS
virtual bool Load(moIStream& file, moImage& im) = 0;
virtual bool Save(moOStream& file, const moImage& im) = 0;
PARAMETERS
file - a file where the image is read or written
im - the image loaded or to be saved
DESCRIPTION
This documentation is supplemental to the main moImageFile
documentation of the same functions. This is used to give
a list of all the parameters understood by this handler.
Load()
[RELAX] if this parameter exists, it makes this
loader accept erroneous files and return
a valid (but most probably incomplet)
image
"COMPRESSION" "RLE", "NONE"
"DEPTH" "PALETTED", "GREYSCALE", "RGB555", "RGB5551", "RGB", "RGBA"
"COMMENT" <string>
(arbitrary user comment)
Save()
"COMMENT" <string>
(arbitrary user comment)
"COMPRESSION" "RLE"
(other values are taken as NONE)
"DEPTH" "GREY", "RGB555", "RGB", "RGBA"
(other values are taken as RGB if the
image is solid, RGBA otherwise)
"INTERLACE" 1, 2, 4 or 8
(the number of lines to skip)
SEE ALSO
MatchType, MatchPosition, MimeType
COPYRIGHTS
This documentation and the code being documented is proprietary and cannot be duplicated without the express and written consent of Made to Order Software Coporation.
Copyright (c) 1999-2007 by Made to Order Software Corporation
All rights reserved.
AUTHORS
Alexis Wilke, Doug Barbieri
Links:
molib
the sandbox
|