pgm_util.hpp
来自「The goal of this project is to explore t」· HPP 代码 · 共 38 行
HPP
38 行
#if !defined(BRL_PGM_UTIL_HPP)
#define BRL_PGM_UTIL_HPP
/*+-------------------------------------------------------------------
Ben Landon
CSCI E-235
pgm_util.hpp
This file is the interface to the module for the PGM
reader. Note PGM is Portable Gray Map.
*/
/*+-------------------------------------------------------------------
read_pgm_file
Returns true on success, false on failure.
read_pgm_file reads a PGM file, which is a portable
graymap from Jef Poskanzer's library,
*/
int read_pgm_file (const char* filename,
unsigned int* width,
unsigned int* height,
unsigned int* max_gray,
unsigned char** data);
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?