0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

pdfを画像にするには (Mac)

Last updated at Posted at 2025-11-13

答え

詳細

環境

  • macOS
  • makeができる環境, XCodeが使える環境のいずれか

使い方

ダウンロード・インストール

  1. pdf2png-mac をダウンロードする(GUI, CUIどちらでも)
  2. シェルでmake, もしくはXCodeでpdf2png.xcodeprojを開く
  3. pdf2pngというファイルができる
  4. 完成!

使い方

以下はpdf2pngのヘルプ

pdf2png [options] file
	--dpi dpi	Specifies the resolution at which to export the pages
	--page page	Single page to export
	--transparent	Do not fill background white color, keep transparency from PDF.
	--output path	Specify output file path. This implies --page 1 if not specified. ( Without this option, PDFNAME-p1.png (example) is created on same directory )
	--help	Print this help message

解像度変更、ページ指定、透過するか、出力先、ヘルプですね。

例えばnanika.pdfの3ページの画像を~/Desktop/pdf_img/に作るとするなら

$ pdf2png nanika.pdf --page 3 --output ~/Desktop/pdf_img/

例えばsugoi.pdfの5ページの画像を~/Desktop/souda/tokutyo.pngとして保存するなら

$ pdf2png sugoi.pdf --page 5 --output ~/Desktop/souda/tokutyo.png
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?