look for MAGICKCORE_HDRI_SUPPORT

This commit is contained in:
John Cupitt 2008-02-21 17:43:19 +00:00
parent a4db478be3
commit 651557367b
2 changed files with 11 additions and 3 deletions

View File

@ -8,6 +8,7 @@
- you can now shrink jpegs during read, see "man im_jpeg2vips"
- added CMYK JPEG write
- optionally use GraphicsMagick (thanks Bob Friesenhahn)
- look for MAGICKCORE_HDRI_SUPPORT (thanks Marcel)
12/12/07 started 7.13.3
- added "include <cstring>" to VImage.cc to help gcc 4.3

View File

@ -18,6 +18,7 @@
* - support 32/64 bit imagemagick too
* 21/2/08 Bob Friesenhahn
* - use MaxRGB if QuantumRange is missing
* - look for MAGICKCORE_HDRI_SUPPORT (thanks Marcel)
*/
/*
@ -87,15 +88,21 @@ im_magick2vips_header( const char *filename, IMAGE *im )
#include <magick/api.h>
#ifdef WITH_DMALLOC
#include <dmalloc.h>
#endif /*WITH_DMALLOC*/
/* pre-float Magick used to call this MaxRGB.
*/
#if !defined(QuantumRange)
# define QuantumRange MaxRGB
#endif
#ifdef WITH_DMALLOC
#include <dmalloc.h>
#endif /*WITH_DMALLOC*/
/* And this used to be UseHDRI.
*/
#if MAGICKCORE_HDRI_SUPPORT
# define UseHDRI=1
#endif
/* What we track during a read call.
*/