class ActiveStorage::Previewer::MuPDFPreviewer

def draw_first_page_from(file, &block)

def draw_first_page_from(file, &block)
  draw self.class.mutool_path, "draw", "-F", "png", "-o", "-", file.path, "1", &block
end