Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I've been looking for tasks to put my linux machine to work, and i think i have found one. I downloaded about 1000 png icon files that i would like to use on my windows machine (i still need to use windows, i'm not proficient enough with Debian to switch yet).
These files need to be converted to ISO before windows will use them as icons, so i downloaded something called imagemagick. its description said that it would convert batches of ICO to PNG and vice versa.
thats all well and good, but i cant even run the program. (#imagemagick --help command not found) I have an install of debian without a desktop. just command line. i think imagemagick is supposed to be run from a desktop interface.
1) how do i find out if i can run it from a command line?
2) if i cannot, what other applications out there will do batch conversions from PNG to ICO?
By the looks of it, you're trying to run as root. Use your normal user account for this. How did you install it and what commands are you trying to use for the processing?
imagemagick can be run from the command line according to their own description.
Quote:
Description: image manipulation programs
Imagemagick is a set of programs to manipulate various image formats (JPEG,
TIFF, PhotoCD, PBM, XPM, etc...). All manipulations can be achieved through
shell commands as well as through an X11 graphical interface (display).
The dependencies do not include any references to X. So you should be ok running it off the command line.
Imagemagick is not a program in itself, it's a set of programs. The two big ones are "display" and "convert". What you want to use is convert. The basic command should be:
convert image.png image.ico
It will automatically create the new image based on the suffix you put on the output file.
after reading your posts i quickly felt like a fool... the convert command is very simple to use.
it seems that MOGRIFY was the command i was after... it blew through 1000 files in under a minute.
i have one follow up question.
Aside from checking the ImageMagick website, how exact would i have known that ImageMagick was not a program itself, but a collection of commands? In your answers you seem to know this fact as if it were obvious. do i just need more screen time?
after reading your posts i quickly felt like a fool... the convert command is very simple to use.
it seems that MOGRIFY was the command i was after... it blew through 1000 files in under a minute.
i have one follow up question.
Aside from checking the ImageMagick website, how exact would i have known that ImageMagick was not a program itself, but a collection of commands? In your answers you seem to know this fact as if it were obvious. do i just need more screen time?
Thanks for your help guys
Did you read my first posting?
Quote:
Description: image manipulation programs
Imagemagick is a set of programs to manipulate various image formats (JPEG,
TIFF, PhotoCD, PBM, XPM, etc...). All manipulations can be achieved through
shell commands as well as through an X11 graphical interface (display).
You can also do a search of installed man pages with "man -k keyword" (also usually aliased to "apropos"). It will show you all installed man pages related to the keyword. On my system "man -k imagemagick" (or "apropos imagemagick") lists the actual man page as "ImageMagick". Remember that Linux is case-sensitive.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.