Properly remove tIME chunk from PNG uploads (#27111)

This commit is contained in:
Essem 2023-09-25 12:21:07 -05:00 committed by Claire
parent 47441e51f3
commit f45b5f5006
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ class MediaAttachment < ApplicationRecord
}.freeze }.freeze
GLOBAL_CONVERT_OPTIONS = { GLOBAL_CONVERT_OPTIONS = {
all: '-quality 90 -strip +set modify-date +set create-date', all: '-quality 90 -strip +set date:modify +set date:create +set date:timestamp',
}.freeze }.freeze
belongs_to :account, inverse_of: :media_attachments, optional: true belongs_to :account, inverse_of: :media_attachments, optional: true