您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 

12 行
568 B

  1. #include "apt.h"
  2. #include "common.h"
  3. int readRawImage(char *filename, float **prow, int *nrow);
  4. int readPalette(char *filename, apt_rgb_t **pixels);
  5. void prow2crow(float **prow, int nrow, char *palette, apt_rgb_t **crow);
  6. int applyUserPalette(float **prow, int nrow, char *filename, apt_rgb_t **crow);
  7. int ImageOut(options_t *opts, apt_image_t *img, int offset, int width, char *desc, char chid, char *palette);
  8. int initWriter(options_t *opts, apt_image_t *img, int width, int height, char *desc, char *chid);
  9. void pushRow(float *row, int width);
  10. void closeWriter();