writeimagefile


Syntax

#include "graphics.h"

void writeimagefile(

    const char* title=NULL,	

    double width_inches=7, double border_left_inches=0.75, double border_top_inches=0.75,

    int left=0, int right=0, int right=INT_MAX, int bottom=INT_MAX

    );

Description[WIN]
The writeimagefile function is available in the winbgim implementation of BGI graphics. You do not need to include conio.h; just include graphics.h. The function saves a portion of the active page in a BMP file. The filename must end in "BMP" or ".bmp", or it may be NULL (in which case a windows file save dialog box is opened to allow the user to select a file name).

See also
getimage
printimage
readimagefile

Back to index