diff --git a/lib/iiif_print/image_tool.rb b/lib/iiif_print/image_tool.rb index 8d6df030..be27ac92 100644 --- a/lib/iiif_print/image_tool.rb +++ b/lib/iiif_print/image_tool.rb @@ -74,7 +74,7 @@ def im_identify_geometry(lines) # @return [Array] lines of output from imagemagick `identify` def im_identify - cmd = "identify -format 'Geometry: %G\nDepth: %[bit-depth]\nColorspace: %[colorspace]\nAlpha: %A\nMIME type: %m\n' #{path}" + cmd = "identify -ping -format 'Geometry: %G\nDepth: %[bit-depth]\nColorspace: %[colorspace]\nAlpha: %A\nMIME type: %m\n' #{path}" `#{cmd}`.lines end