Fix build on Debian unstable which now has GraphicsMagick rather than ImageMagick.
[dcpomatic.git] / src / lib / image_examiner.cc
index 4ff324f68d4d76ba29e6437e353e48d1b178be65..7058ea3b282935c2a9265660500190ae770bd8d2 100644 (file)
@@ -38,7 +38,9 @@ ImageExaminer::ImageExaminer (shared_ptr<const Film> film, shared_ptr<const Imag
        , _image_content (content)
        , _video_length (0)
 {
+#ifdef DCPOMATIC_IMAGE_MAGICK  
        using namespace MagickCore;
+#endif 
        Magick::Image* image = new Magick::Image (content->path(0).string());
        _video_size = libdcp::Size (image->columns(), image->rows());
        delete image;