0
0
Fork 0

Fix metadata scrubbing removing color profile from images (#20389)

This commit is contained in:
Eugen Rochko 2022-11-11 09:20:10 +01:00 committed by GitHub
parent 53028af10e
commit 9bc0a6c861
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 8 additions and 8 deletions

View file

@ -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