I have more technical than scientific query.
Does anyone know any nice tool to convert images from any format (bmp,
ppm, pgm, png, jpeg) to eps?
I mean the tool that I could use in batch mode.
What I am doing know is saving as eps using GIMP, but the number of
images I have to convert will be increasing,
some automatic way of doing this would be appreciated
Thanks for any suggestions
Rych
Look for the netpbm tools. It contains "pnmtops" to convert graphics to
postscript, and a lot of other tools to convert graphics to the pnm
format in first place.
Greetings,
Thomas
You don't mention an operating system. Here is how I using ImageMagick
(available on Linux and Windows, but I cannot suggest an equivalent
Windows script / batch file) 'convert' command to make index images for
a website:
for i in *.jpg
do
echo "$i -> $i "
convert -resize 160x120 "$i" "$i"
done
To convert any image file (recognised by ImageMagick) to .eps would be
convert filename.xyz filename.eps
(to rewrite the script to do that is likely trivial but slightly beyond
me.)
Jon C.
--
Jonathan Campbell www.jgcampbell.com BT48, UK.
> You don't mention an operating system. Here is how I using ImageMagick
> (available on Linux and Windows, but I cannot suggest an equivalent
> Windows script / batch file) 'convert' command to make index images for
> a website:
>
> for i in *.jpg
> do
> echo "$i -> $i "
> convert -resize 160x120 "$i" "$i"
> done
>
> To convert any image file (recognised by ImageMagick) to .eps would be
>
> convert filename.xyz filename.eps
>
> (to rewrite the script to do that is likely trivial but slightly beyond
> me.)
Rewriting a BAT script to obtain the base
name by stripping off the extension is not
at all trivial. I have done it but, instead,
strongly recommend using Perl. In Perl it
*is* trivial.
If you really want to use BAT then Eric
Phelps has a useful help page at:
http://www.ericphelps.com/batch/lists/index.htm
--
Regards,
Martin Leese
E-mail: ple...@see.Web.for.e-mail.INVALID
Web: http://members.tripod.com/martin_leese/
-----------------------------------------------------------------------------------------
Personally I use ACDSee.
http://store.acdsee.com/store/acd/en_US/DisplayProductDetailsPage/productID.106893200
I've used irfanview, Picasa, Photodex, ThumbsPlus, and others but I
don't like any of them as well as ACDSee. It's fast, has a thumbnail
+ elnlarged view, slide show mode, etc. You can do all kinds of batch
processing things like select a bunch of images by clicking on their
thumbnail and then rotate them, convert to a different format, etc.
It can save them in place (overwrite) or can create new versions in a
separate folder. It also has a built in editor to do stuff like
redeye removal, cropping, enhancement, and any standard photo
retouching kinds of things. It's especially good when rolling the
mousewheel in slide show mode to see how pictures differ slightly from
each other, because it caches both the next and prior image so it's
lightning fast to display whatever image you go to next.
I use Irfanview for doing this type of activity. It is a Windows
based graphics
viewer/utility.
Mike