Web Design

Batch convert images from the command line

A simple way to convert images in Linux is by using the command line: convert image.jpg newImage.gif will convert the JPG file to a GIF file. convert -quality 78% file.jpg will set the quality of the JPEG file to 78% con[...]


View Image File Metadata From the Command Line

Did you know you can access all the information store in a JPG/PNG/GIF file from the command line? Install the ImageMagick package and do this: identify -verbose image_file.jpg The output will be something llike this: Im[...]


Copy images in Linux from the iPhone’s pictures folder

Linux applications do not yet support the newest 2.x Apple firmware for the iPhone and iPod Touch. But if you want to copy images from the Pictures folder, all you need is SSH installed on the device: scp root@192.168.1.[...]


Chain renaming files in Linux

To quickly rename a large number of files in Linux using the command line, use rename. rename ’s/\.jpg$/.gif/’ *.jpg will transform all the extensions of JPEG files into GIF. [...]