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.

pngio.h 650 B

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