A newbie question

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
michaln9817
Posts: 1
Joined: 2017-08-08T19:36:50-07:00
Authentication code: 1151

A newbie question

Post by michaln9817 »

Hi there!

A friend told me about ImageMagick but i'm not 100% sure it would solve my problem..

I'll be happy to get your input.

My joomla based site has around 6 giga of images I would like to optimize
1 - Will ImageMagick work with so many images?
2 - Assuming the answer is YES - How do I do it?
3 - Every time the process is interrupted for some reason and I start again - Does it optimize just what is left, or everything from the beginning?
3 - Assuming I managed to optimize everything, What's happening from now on? If I upload 20 new images per day, Does it optimize it automatically or do I have to do something manually?

Thanks in advance..
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: A newbie question

Post by fmw42 »

Can you explain exactly what you do to optimize your images now? Also what is your OS/Platform?

Imagemagick can process all images in a folder and put them in another folder via the mogrify command. You can also write a script loop (depending upon your OS) that would loop over all images in a directory or list of files and optimize them using the convert command and write them to a new directory and delete the old one if desired. If you have to restart, then you could them just process the script again for all images left in the input directory. Depending upon your OS, you can call a timing script that checks some directory for new images and processes all those files to put them somewhere else and delete the originals. Again the is a scripting issue. IM mainly does the processing and not the bookkeeping, except for mogrify, which process a whole folder of images in one command.

For novices, see

viewtopic.php?f=1&t=9620http://http://w ... essing.php
http://www.imagemagick.org/Usage/reference.html
http://www.imagemagick.org/Usage/

Also see http://www.imagemagick.org/Usage/basics/#mogrify
Post Reply