Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
スクリプトを保存またはダウンロードせずに安全な方法で PDF ファイルをユーザーに表示する必要があります。imagick またはゴースト スクリプトで画像として表示できる PDF ファイルのページ数を知る必要があります。
あなたの質問は少し曖昧です-どのOS(Linux、Windows)ですか?「ビュー」とはどういう意味ですか?
Ghostscriptの「display」または「x11」デバイスは、レンダリングされたページをどのファイルにも書き込みません。また、ページ数に制限はありません(98,000ページのPDFで使用しました)。
Imagemagickはまったく必要ありません-ghostscriptはWindowsまたはx11のウィンドウに直接表示されます。