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
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
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).
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,
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
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
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
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: