diff --git a/app/previewers/heic_previewer.rb b/app/previewers/heic_previewer.rb index e8e06ba18..87b3620f4 100644 --- a/app/previewers/heic_previewer.rb +++ b/app/previewers/heic_previewer.rb @@ -18,7 +18,7 @@ def minimagick_exists? end end - def preview + def preview(**_options) download_blob_to_tempfile do |input| io = ImageProcessing::MiniMagick.source(input).convert("png").call yield io: io, filename: "#{blob.filename.base}.png", content_type: "image/png"