diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2022-11-11 09:20:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-11 09:20:10 +0100 |
commit | 9bc0a6c861e07d0112ef2e5ccd28adeca868bdbe (patch) | |
tree | 00001c6554ebd15d01df92cf805b9eda58703452 /app/models/media_attachment.rb | |
parent | 53028af10ee5244d050e84580c396df25c2e8fc3 (diff) |
Fix metadata scrubbing removing color profile from images (#20389)
Diffstat (limited to 'app/models/media_attachment.rb')
-rw-r--r-- | app/models/media_attachment.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/media_attachment.rb b/app/models/media_attachment.rb index a6e090f4c..7aa8658d9 100644 --- a/app/models/media_attachment.rb +++ b/app/models/media_attachment.rb @@ -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 |