-libdcp::Size
-ImageMagickDecoder::native_size () const
-{
- if (_files.empty ()) {
- throw DecodeError (_("no still image files found"));
- }
-
- /* Look at the first file and assume its size holds for all */
- using namespace MagickCore;
- Magick::Image* image = new Magick::Image (_film->content_path ());
- libdcp::Size const s = libdcp::Size (image->columns(), image->rows());
- delete image;
-
- return s;
-}
-
-bool