DVwrite_image


Synopsis

write an image file from an AVS/Express field


module DVwrite_image {
Mesh_Unif+Dim2+Space2+Node_Data+Vector4+Oparam in; /* in field */
string+Iparam filename; /* name of file to write */
int+Iparam flip; /* invert image in y */
int+Iparam format; /* file format */
int+Iparam filetype; /* binary, ASCII */
int+Iparam depth; /* bits per pixel */
int+Iparam colortype; /* RGB, greyscale, BW */
int+Iparam compresstype; /* compression type to use */
int+Iparam reducetype; /* depth reduction method */
method+notify_val+notify_inst write_image_update = "DVwrite_image_update";
} ;

 

Description

DVwrite_image writes an image file of a specified format from an AVS/Express Field.

Input

filename

A string. Names the input file to be written. The string can be either the complete absolute pathname, or a relative pathname. If it is relative, it will be interpreted relative to the user's working directory when AVS/Express was started.

flip

Boolean indicating whether to invert the image about the x axis, i.e. in the vertical direction.

format

An integer value indicating the image file format to write. The following image formats are currently supported:

•      AVS .x