From d75be522869a2430355dfe83a96624f39a8fb370 Mon Sep 17 00:00:00 2001 From: John Hawthorn Date: Mon, 31 Aug 2009 00:36:38 -0700 Subject: experimental support for imagemagick backend --- src/jpeg.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/jpeg.c') diff --git a/src/jpeg.c b/src/jpeg.c index 26e60d1..fbe53f6 100644 --- a/src/jpeg.c +++ b/src/jpeg.c @@ -51,6 +51,9 @@ static struct image *jpeg_open(FILE *f){ } j->jerr.pub.error_exit = error_exit; + + j->img.fmt = &libjpeg; + return (struct image *)j; } -- cgit v1.2.3