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:

        convert <eps-file> <jpg-file>

A batch solution is simple:

        #!/bin/sh
        for f in *eps; do
                convert ${f} `basename ${f} .eps`.jpg
        done

You can add

        [ ! -f `basename ${f} .eps`.jpg ] && 

infront of the convert command to avoid repeated conversions.



-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to