This shows you the differences between two versions of the page.
c:graphics.h:readimagefile [2015/05/06 23:06] |
c:graphics.h:readimagefile [2024/02/16 01:05] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== readimagefile ===== | ||
+ | |||
+ | |||
+ | ====Syntax of readimagefile ==== | ||
+ | <code c> | ||
+ | #include "graphics.h" | ||
+ | void readimagefile( | ||
+ | const char* title=NULL, | ||
+ | int left=0, int right=0, int right=INT_MAX, int bottom=INT_MAX | ||
+ | ); | ||
+ | </code> | ||
+ | |||
+ | |||
+ | ==== Description of readimagefile ==== | ||
+ | <code c> | ||
+ | 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 | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== See also ==== | ||
+ | [[getimage]] | ||
+ | [[printimage]] | ||
+ | [[writeimagefile]] | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== output of readimagefile example ===== | ||
+ | |||
+ | no output of example at the moment | ||
+ | do not hesitate and add it... | ||
+ | |||
+ | |||