Methods
- A
- M
- P
Class Public methods
accept?(blob) Link
mutool_exists?() Link
mutool_path() Link
Instance Public methods
preview(**options) Link
# File activestorage/lib/active_storage/previewer/mupdf_previewer.rb, line 23 def preview(**options) download_blob_to_tempfile do |input| draw_first_page_from input do |output| yield io: output, filename: "#{blob.filename.base}.png", content_type: "image/png", **options end end end