Graphics, Figures & TablesCoverting pgf to 300dpi image

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
bomberb17
Posts: 12
Joined: Sun Feb 10, 2019 8:52 pm

Coverting pgf to 300dpi image

Post by bomberb17 »

My manuscript creates figures using Matplotlib's PGF backend.
However the journal which accepted my manuscript needs 300dpi PNG or TIFF images.
I tried to take a direct screenshot from the pdf file (zoomed in to take the whole screen) but they still won't accept it as it is 96dpi.

Is there any good way to convert all my pgf files into 300-dpi images?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

Coverting pgf to 300dpi image

Post by Ijon Tichy »

Matplotlib can export PNG directly. So I would suggest to use this instead of converting the graphics once more. However, you can use standalone to generate all TikZ/PGF-graphics as stand alone PDFs and then use any PDF→PNG converter (e.g. ghostscript, ImageMagic, …) to convert them into PNG with the wanted resolution.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
bomberb17
Posts: 12
Joined: Sun Feb 10, 2019 8:52 pm

Coverting pgf to 300dpi image

Post by bomberb17 »

I see. Thanks!
Post Reply