Graphics, Figures & Tablespng to eps conversion

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
nancyh
Posts: 7
Joined: Tue Mar 05, 2013 2:30 pm

png to eps conversion

Post by nancyh »

Hi,

I found the following code which should convert png to eps

convert filename.png fileman.eps

When I try it I don't get an error message, but neither does the .eps appear in the directory. I do get the following message in the terminal window:

CONVERT commands are now available -- (Version 1.6-3)

Defaults for automatic NDF conversion are set.

Type conhelp for help on CONVERT commands.
Type "showme sun55" to browse the hypertext documentation.

Does anyone know why its not working? I know I could use pdflatex, but I've been told that its better to use an eps image for scaling.

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

Re: png to eps conversion

Post by Stefan Kottwitz »

PNG is already not scalable, so a basic conversion to EPS doesn't matter. A different thing would be a vectorization of a PNG image, which is not a simple conversion.

I would use pdfLaTeX with PNG images. If programs can output EPS files, such as graphs, that would be a reason to use EPS but not with bitmap images.

Stefan
LaTeX.org admin
nancyh
Posts: 7
Joined: Tue Mar 05, 2013 2:30 pm

Re: png to eps conversion

Post by nancyh »

Thanks. I think he must have actually have meant me to regenerate the image as eps. Maybe I'll do that in future.
jrwhitbourn
Posts: 1
Joined: Wed Sep 11, 2013 1:40 pm

Re: png to eps conversion

Post by jrwhitbourn »

Hi, I think your problem is a conflict with the Starlink convert utility.
http://star-www.rl.ac.uk/star/bin/convert/convert.icl

If you remove Starlink from your startup script this should solve the problem, well at least till you need Starlink. J
Post Reply