projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
741b1a0
)
Another missing Magick hack.
author
Carl Hetherington
<cth@carlh.net>
Sun, 26 Oct 2014 12:44:19 +0000
(12:44 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 26 Oct 2014 12:44:19 +0000
(12:44 +0000)
test/test.cc
patch
|
blob
|
history
diff --git
a/test/test.cc
b/test/test.cc
index 71cd50ac928b9b9cab897abc445532c7c918a55e..f31103b9b7d59a60334b94f548cfafe998275a03 100644
(file)
--- 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 ());