|
CLASS moImageFile_RAW
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()
[OFFSET] skip this many bytes before to read the image
[WIDTH] give the width of the image (decimal value)
this parameter is required
[HEIGHT] give the height of the image (decimal value)
this parameter is required
[DEPTH] defines the depth of the image, one of:
"GREY", "GREYA", "RGB555", "RGB", "RGBA"
Save()
"DEPTH" "GREY", "GREYA", "RGB555", "RGB", "RGBA"
(other values are taken as RGB if the
image is solid, RGBA otherwise)
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
|