Fix metadata scrubbing removing color profile from images (#20389)
This commit is contained in:
parent
53028af10e
commit
9bc0a6c861
7 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue