Re: eps to jpg conversion - which program?

2008-11-09 Thread Polytropon
On Sat, 8 Nov 2008 23:36:32 -0800, Jeremy Chadwick [EMAIL PROTECTED] wrote: Also, what guarantee do you have that all the filenames that match that wildcard lack spaces in them? Your [ and convert commands will botch badly in that case. See below. This is completely correct. If files are

Re: eps to jpg conversion - which program?

2008-11-08 Thread Jonathan McKeown
On Friday 07 November 2008 21:19, Polytropon wrote: On Fri, 07 Nov 2008 13:36:51 +0100, Laszlo Nagy [EMAIL PROTECTED] wrote: A batch solution is simple: #!/bin/sh for f in *eps; do convert ${f} `basename ${f} .eps`.jpg done You can also save yourself

Re: eps to jpg conversion - which program?

2008-11-08 Thread Polytropon
On Sat, 8 Nov 2008 12:12:46 +0200, Jonathan McKeown [EMAIL PROTECTED] wrote: You can also save yourself repeated calls to basename by using for f in *eps; do convert ${f%.eps}.jpg done Look under parameter expansion in the manpage for sh(1) (or bash(1) if you have bash installed).

Re: eps to jpg conversion - which program?

2008-11-08 Thread Jeremy Chadwick
On Sun, Nov 09, 2008 at 07:25:49AM +0100, Polytropon wrote: On Sat, 8 Nov 2008 12:12:46 +0200, Jonathan McKeown [EMAIL PROTECTED] wrote: Essentially, a Bourne-type shell with parameter expansion expands ${variable#prefix} or ${variable%suffix} to $variable with the prefix or suffix,

Re: eps to jpg conversion - which program?

2008-11-07 Thread Manolis Kiagias
Laszlo Nagy wrote: Hi, I need to convert eps files into jpeg files in batch mode. Gimp works perfectly, except that I cannot use an X display. I tried eps2png with no success: %file test.eps test.eps: DOS EPS Binary File Postscript starts at byte 30 length 566887 TIFF starts at byte

Re: eps to jpg conversion - which program?

2008-11-07 Thread Timm Wimmers
Laszlo Nagy schrieb: I need to convert eps files into jpeg files in batch mode. Gimp works perfectly, except that I cannot use an X display. I tried eps2png with no success: %file test.eps test.eps: DOS EPS Binary File Postscript starts at byte 30 length 566887 TIFF starts at byte

eps to jpg conversion - which program?

2008-11-07 Thread Laszlo Nagy
Hi, I need to convert eps files into jpeg files in batch mode. Gimp works perfectly, except that I cannot use an X display. I tried eps2png with no success: %file test.eps test.eps: DOS EPS Binary File Postscript starts at byte 30 length 566887 TIFF starts at byte 566917 length 4741

Re: eps to jpg conversion - which program?

2008-11-07 Thread Polytropon
On Fri, 07 Nov 2008 13:36:51 +0100, Laszlo Nagy [EMAIL PROTECTED] wrote: Hi, I need to convert eps files into jpeg files in batch mode. Gimp works perfectly, except that I cannot use an X display. I tried eps2png with no success: You can use the convert command from ImageMagick: