Try to fix build wrt ImageMagick.
[dcpomatic.git] / src / lib / magick_image_proxy.cc
index 55795910553f422564fe2656cdb76632aac247e9..fbb08b7b081229372ddb8fd83bc32f6607971e5e 100644 (file)
@@ -109,7 +109,7 @@ MagickImageProxy::image (optional<dcp::NoteHandler>, optional<dcp::Size>) const
                   are very wrong.  To prevent this, set the image colour space to RGB to stop the ::colorSpace call below doing
                   anything.  See #1123 and others.
                */
-               SetImageColorspace(magick_image->image(), Magick::RGBColorspace);
+               magick_image->image()->colorspace = Magick::RGBColorspace;
        }
 
        magick_image->colorSpace(Magick::RGBColorspace);