readimagefile


Syntax
#include "graphics.h"
void readimagefile(
    const char* title=NULL,     
    int left=0, int right=0, int right=INT_MAX, int bottom=INT_MAX
    );
Description[WIN]
The readimagefile function is available in the winbgim implementation of BGI graphics. You do not need to include conio.h; just include graphics.h. The function reads a BMP, GIF, JPG, ICO, EMF or WMF image file and displays it in part of the current active window. The filename 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
writeimagefile

Back to index