Fix ImageMagick support, disable GraphicsMagick support
[colorize.git] / src / img.h
1 extern int save_depth;
2 unsigned short *load_img(int *width, int *height, const char *filename, int index);
3 int save_img(unsigned short *img, int width, int height, int alpha, const char *filename, int index);
4 int save_img_array(double *array, int width, int height, int alpha, const char *filename, int index);
5 void img2array_short(unsigned short *img, int iw, int ih, double *array, int aw, int ah);
6 void array2img_short(double *array, int aw, int ah, unsigned short *img, int iw, int ih, int alpha);
7 void scale_img(unsigned short *img, int width, int height, int scale);