Change DCT method used for JPEG encoding to float (#26675)

lolsob-rspec
Colette Kerr 2023-09-07 05:26:25 +02:00 committed by GitHub
parent bb0966bf85
commit e8427d32cb
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ class MediaAttachment < ApplicationRecord
DEFAULT_STYLES = [:original].freeze
GLOBAL_CONVERT_OPTIONS = {
all: '-quality 90 +profile "!icc,*" +set modify-date +set create-date',
all: '-quality 90 +profile "!icc,*" +set modify-date -define jpeg:dct-method=float +set create-date',
}.freeze
belongs_to :account, inverse_of: :media_attachments, optional: true