mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-29 08:09:55 -04:00
Revert "FIX: auto orientation code causing grey images to appear blackish"
This reverts commit f680374820
.
This commit is contained in:
parent
8304c306a4
commit
e45b3c15c3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue