You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

12 lines
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();