From f680374820f8775d939e2a3b2ba033b6dee75cba Mon Sep 17 00:00:00 2001 From: Sam Date: Sat, 31 Jan 2015 18:05:50 +1100 Subject: [PATCH] FIX: auto orientation code causing grey images to appear blackish --- app/models/upload.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/upload.rb b/app/models/upload.rb index 81ab4e5fe81..099fe472627 100644 --- a/app/models/upload.rb +++ b/app/models/upload.rb @@ -146,7 +146,7 @@ class Upload < ActiveRecord::Base end def self.fix_image_orientation(path) - `convert #{path} -auto-orient #{path}` + `convert #{path} -set colorspace RGB -auto-orient #{path}` end end