On Tue, 1 Feb 2005 03:21:50 +0500, dinar ali kadri <dino at pakishop.com> wrote:
> When ever i want to change the format of graphics i simply give command
> of mv like mv test.png test.gif and it converts the format automaticly
Liam Bedford clarified for you the actual effect of the mv command.
If what you in fact wanted to do was convert graphics formats at the
command line, one command that would help is "convert". This is part
of the imagemagick collection.
http://www.imagemagick.org/
It may already be installed on your system, or if not it will almost
certainly be available via the package manager (e.g. yum on Fedora, as
Liam points out).
Using imagemagick, to convert the file is as simple as
convert test.png test.gif
There are lots and lots of possible options (some of which depend on
the output format you have chosen) that can be applied to get the
specific results you want (e.g. changing resolution, applying filters,
type of compression, and so on).
Michael
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!