Commit 993b0b1f by aboutqx Committed by Mike Burns

Update geometry_detector_factory.rb

parent 69aeda7c
...@@ -17,7 +17,7 @@ module Paperclip ...@@ -17,7 +17,7 @@ module Paperclip
orientation = Paperclip.options[:use_exif_orientation] ? orientation = Paperclip.options[:use_exif_orientation] ?
"%[exif:orientation]" : "1" "%[exif:orientation]" : "1"
Paperclip.run( Paperclip.run(
Gem.win_platform?"magick identify":"identify", (Gem.win_platform?)?"magick identify":"identify",
"-format '%wx%h,#{orientation}' :file", { "-format '%wx%h,#{orientation}' :file", {
:file => "#{path}[0]" :file => "#{path}[0]"
}, { }, {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment