mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Revert "FIX: auto orientation code causing grey images to appear blackish"
This reverts commit f680374820.
This commit is contained in:
@@ -146,7 +146,7 @@ class Upload < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def self.fix_image_orientation(path)
|
||||
`convert #{path} -set colorspace RGB -auto-orient #{path}`
|
||||
`convert #{path} -auto-orient #{path}`
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user