2009
06.19

Dovevo ridimensionare 38 foto. Farlo manualmente una per una o cercare qualche tool che le ridimensionasse tutte automaticamente?
Beh, la seconda mi è parsa più intelligente!
Cercando in rete, ho trovato il pacchetto imagemagick: editing di foto da terminale!
Suona strano, vero?
Ho installato il software, già presente nei repository di Ubuntu, con un semplice:
sudo apt-get install imagemagick

  1. Andiamo nella cartella con le immagini (da terminale col comando cd /percorso/nomecartella), attenzione però a crearsi una copia delle immagini poichè il programma cancellerà quelle presenti nella cartella.
  2. lanciamo il comando mogrify -resize 1024x1024 *.* (nota che le dimensioni possono essere variate in base alle esigenze)
  3. Attendiamo qualche istante (potrebbe volerci un po’) e avremo le immagini ridimensionate: avranno tutte il lato più lungo di 1024px.

In pratica il software colloca l’immagine in un quadrato di 1024×1024 (in questo caso), in tal modo, mantendo le proporzioni, compie egregiamente il suo lavoro sia con immagini orizzontali che con verticali.
Ah dimenticavo è disponibile anche per Windows.
Cosa aspettate a provarlo!

Yesterday I had to resize 38 photos. But what to do?
I aked me “Is there an automatically way to resize all the photos?”
Google helped me to find imagemagick.
I installed it with a simple:
sudo apt-get install imagemagick
How-to use it:

  1. Open (via terminal) the directory in which the images are saved. (you’d better backup them because they will be replaced by the resized images, so the original ones will be deleted)
  2. Type this command mogrify -resize *.*
  3. Wait for a few minutes and take a look on your photos: they’ve just been resized. Automatically.

Imagemagick is also available for Windows.
Let’s use it.

Related posts:

  1. GRUB sull’altro hdGRUB on the other hd
  2. GRUB: come ti ripristino
  3. HP Recovery: ecco come usarlo!

Related posts brought to you by Yet Another Related Posts Plugin.

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

No Comment.

Add Your Comment