From ed072cd57872ff28e2d506b3ae42819faba84a1c Mon Sep 17 00:00:00 2001 From: Christophe CURIS Date: Tue, 29 Apr 2014 01:06:03 +0200 Subject: [PATCH] wrlib: revert addition of an internal ImgFormat for ImageMagick IM_MAGICK is not a file format, and in the current implementation it is a special case for handling IM_UNKNOWN. --- wrlib/imgformat.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/wrlib/imgformat.h b/wrlib/imgformat.h index f60c9659..0d3b9d42 100644 --- a/wrlib/imgformat.h +++ b/wrlib/imgformat.h @@ -39,13 +39,12 @@ typedef enum { IM_PPM = 4, IM_JPEG = 5, IM_GIF = 6, - IM_WEBP = 7, - IM_MAGICK = 8 + IM_WEBP = 7 } WRImgFormat; /* How many image types we have. */ /* Increase this when adding new image types! */ -#define IM_TYPES 8 +#define IM_TYPES 7 /* * Function for Loading in a specific format -- 2.11.4.GIT