PDFを画像に変換する

ImageMagickのconvertコマンドを使う。
convert -density 150 7181-attention-is-all-you-need.pdf -quality 90 output.png上を実行す ...
コマンドラインでPDFから図を抽出

Popplerの付属コマンド、pdfimagesを使う。
# Popplerが入って無ければ入れる# install popperpdfimages -p -png hoge.pdf paper_figを実行するとpap ...