FIX: auto orientation code causing grey images to appear blackish

This commit is contained in:
Sam 2015-01-31 18:05:50 +11:00
parent f4609fd6ae
commit f680374820
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ class Upload < ActiveRecord::Base
end end
def self.fix_image_orientation(path) def self.fix_image_orientation(path)
`convert #{path} -auto-orient #{path}` `convert #{path} -set colorspace RGB -auto-orient #{path}`
end end
end end