Cookie Into the (open) source


Resize multiple images in one go

Resize Images, since the photo editing programs have become part of the routine of the average, is a task as simple as trivial. It is used especially for smaller size is available save bandwidth on the transfer of the file: a smaller image will load faster and also to use the pictures on the web is not required high resolution. The problem arises when we have a considerable number of images to be resized, open them one by one can become quite long and tedious.


“Print” time and date automatically in a photo

Today we are insert current date and time in an image using the terminal. By itself, the procedure is not complicated, let's see how.

Meanwhile, we see how to make us say the date and time from PC:

[user@localhost ~]$ echo $(date -R)
Tue, 24 Aug 2010 11:45:04 +0200

And now let's see how place it in the we are interested in using ImageMagick. This program allows us to perform many image manipulation, without having to go through the GUI. There is also a primitive graphical interface, but ImageMagick is mainly used for a number of automation (that soon we will see) command line, the invoked by PHP.