diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-10-26 12:44:19 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-10-26 12:44:19 +0000 |
| commit | 525eb7112ae14d0fa600dd3b21af875fa3759038 (patch) | |
| tree | 216168e177700d49ebd3a7068e2278e37ccc9171 | |
| parent | 741b1a0796a63877702962f20990abf5f8ed9fd2 (diff) | |
Another missing Magick hack.
| -rw-r--r-- | test/test.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test.cc b/test/test.cc index 71cd50ac9..f31103b9b 100644 --- a/test/test.cc +++ b/test/test.cc @@ -309,7 +309,11 @@ wait_for_jobs () void write_image (shared_ptr<const Image> image, boost::filesystem::path file) { - using namespace MagickCore; +#ifdef DCPOMATIC_IMAGE_MAGICK + using namespace MagickCore; +#else + using namespace MagickLib; +#endif Magick::Image m (image->size().width, image->size().height, "ARGB", CharPixel, (void *) image->data()[0]); m.write (file.string ()); |
