Usefull Commands: Image Processing

  • Convert several files from a format to another:

    convert img_*.bmp img_%04d.png

  • Resize images of the current folder to progressive jpeg. Resized images will not be greater than 600×600, but the aspect ratio will be respected:

    convert -resize 600x600 -sharpen 1 -interlace Line * pict%04d.jpg

  • Create a PNG image of a rendered html page:

    kwebdesktop 1024 768 capture.png http://www.linuxfr.org

  • Remove all metadata of a JPEG file:

    exiftool -all= image.jpg

2 Responses to “Usefull Commands: Image Processing”


  1. 1 mysurface

    Cool! Can I find any alternatives for kwebdesktop? I am using ubuntu, couldn’t manage to find kwebdesktop on my repo.

  2. 2 kev

    kwebdesktop is related to KDE, this probably explain why you can’t find it “as is” in your repo. FYI, on Mandriva, kwebdesktop is located in kdebase-progs package.

Leave a Reply