]> git.sesse.net Git - qscale/commitdiff
Added a load_from_stdio() parameter.
authorsgunderson@bigfoot.com <>
Wed, 28 May 2008 18:41:08 +0000 (11:41 -0700)
committersgunderson@bigfoot.com <>
Wed, 28 May 2008 18:41:08 +0000 (11:41 -0700)
libqscale.h

index 85499f335303f8ea5523104ea5eb3dc0935d6abb..4f0d34672365748f87244d7da34f775df7463321 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef _LIBQSCALE_H
 #define _LIBQSCALE_H
 
+#include <stdio.h>
 #include "jpeglib.h"
 
 typedef struct {
@@ -21,6 +22,7 @@ enum qscale_scaling_filter {
 };
 
 qscale_img *qscale_load_jpeg(const char *filename);
+qscale_img *qscale_load_jpeg_from_stdio(FILE *filea);
 int qscale_save_jpeg(const qscale_img *image, const char *filename);
 
 qscale_img *qscale_scale(qscale_img *source, int width, int height, int samp_h0, int samp_v0, int samp_h1, int samp_v1, int samp_h2, int samp_v2, int jpeg_quality);