Fix metadata scrubbing removing color profile from images (#20389)
This commit is contained in:
@@ -167,7 +167,7 @@ class MediaAttachment < ApplicationRecord
|
||||
}.freeze
|
||||
|
||||
GLOBAL_CONVERT_OPTIONS = {
|
||||
all: '-quality 90 -strip +set modify-date +set create-date',
|
||||
all: '-quality 90 +profile "!icc,*" +set modify-date +set create-date',
|
||||
}.freeze
|
||||
|
||||
belongs_to :account, inverse_of: :media_attachments, optional: true
|
||||
|
Reference in New Issue
Block a user