Personal tools

Convert

From MohidWiki

Jump to: navigation, search

Useful utility found in ImageMagick to convert image formats to other formats ("jpeg"-->"eps", "bmp"-->"gif", ...). See also sam2p for a better conversor.

Syntax

Convert a single file

>convert file.gif file.eps

Converts all files in directory

>FOR %A IN (*.gif) DO convert %A %~nA.eps

Resizes an image

>convert -resize 1024x768 original.jpg resized.jpg

Batch file utility

Here's a nice batch file utility that converts all files from one format to another

ECHO 2convert.bat bmp gif
FOR %%A IN (*.%1) DO convert %%A %%~nA.%2

WebBased Utility

In ImageMagick Studio you can perform all actions from a web-based server side interface.

See also

External References