aboutsummaryrefslogtreecommitdiffstats
path: root/src/image.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/image.c')
-rw-r--r--src/image.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/image.c b/src/image.c
index 8169a9098d8..f36e097b58c 100644
--- a/src/image.c
+++ b/src/image.c
@@ -7456,6 +7456,14 @@ imagemagick_image_p (Lisp_Object object)
7456#define DrawRectangle DrawRectangleGif 7456#define DrawRectangle DrawRectangleGif
7457#include <wand/MagickWand.h> 7457#include <wand/MagickWand.h>
7458 7458
7459/* ImageMagick 6.5.3 through 6.6.5 hid PixelGetMagickColor for some reason.
7460 Emacs seems to work fine with the hidden version, so unhide it. */
7461#include <magick/version.h>
7462#if 0x653 <= MagickLibVersion && MagickLibVersion <= 0x665
7463extern WandExport void PixelGetMagickColor (const PixelWand *,
7464 MagickPixelPacket *);
7465#endif
7466
7459/* Helper function for imagemagick_load, which does the actual loading 7467/* Helper function for imagemagick_load, which does the actual loading
7460 given contents and size, apart from frame and image structures, 7468 given contents and size, apart from frame and image structures,
7461 passed from imagemagick_load. Uses librimagemagick to do most of 7469 passed from imagemagick_load. Uses librimagemagick to do most of