📄 imfile.hpp
字号:
// $image\imfile.hpp 1.5 milbo$ image file io// Warning: this is raw research code -- expect it to be quite messy.// milbo durban dec05#if !defined(imfile_hpp)#define imfile_hppchar *sLoadImage(Image &Img, // out const char *sPath, bool fVerbose=false, bool fExitOnErr=true); // inchar *sLoadImage(RgbImage &Img, // out const char *sPath, bool fVerbose=false, bool fExitOnErr=true, bool fRemovePad=true); // inchar *sLoadImage(Image *pImg, RgbImage *pRgbImg, // out const char *sPath, bool fVerbose=false, bool fExitOnErr=true, bool fRemovePad=true); // inchar *sGetFilenameGivenDirs(const char *sDirs, const char *sFile);char *sLoadImageGivenDirs(Image &Img, // out const char *sDirs, const char *sFile, // in bool fVerbose=false, bool fExitOnErr=true); // inchar *sLoadImageGivenDirs(RgbImage &Img, // out const char *sDirs, const char *sFile, // in bool fVerbose=false, bool fExitOnErr=true, bool fRemovePad=true); // invoid CheckFileExistsGivenDirs(const char *sDirs, const char *sFile, const char *sMsg);void WriteBmp(const Image &Img, const char sPath[], bool fVerbose=false); // invoid WriteBmp(const RgbImage &Img, const char sPath[], bool fVerbose=false); // invoid WriteBmpHeader(FILE *pBmpFile, char sPath[], int width, int height); // invoid WriteBmpPixels(FILE *pBmpFile, char sPath[], byte *buf, int width, int height); // invoid WriteBmpPixels(FILE *pBmpFile, char sPath[], tRGB *buf, int width, int height); // invoid DumpBmpHeader(const char sPath[]); // in#endif // imfile_hpp
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -