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