Questions tagged [image-processing]

Manipulating and processing static images, techniques and software for such tasks.

Related tags:

373 questions
359
votes
14 answers

How to easily resize images via command-line?

I would like to know how to resize images in Ubuntu. What is the easiest tool to do so?
myusuf3
  • 33,569
  • 41
  • 88
  • 103
312
votes
7 answers

Simple image editor?

I want something similar to "preview" in macs. For example: I want an image editor that ONLY does simple adjustments like increase/decrease contrast, saturation, exposure, color tinting.... rotate, flip vertically, flip horizontally, make black and…
mandy
  • 3,141
  • 2
  • 15
  • 7
243
votes
4 answers

How to resize an image through the terminal?

I have Ubuntu 10.04. I have converted image through terminal using the following command: convert myfigure.png myfigure.jpg But I want to resize the height and width of the converted image. Is there any way to do this?
Md Kutubuddin Sardar
  • 2,571
  • 2
  • 14
  • 8
194
votes
14 answers

Is there a lightweight tool to crop images quickly?

I need to crop images often - photos, printscreens, etc., and loading gimp for such a simple task takes way too long. Can you recommend a faster alternative?
Justinas Dūdėnas
  • 3,328
  • 4
  • 19
  • 16
167
votes
7 answers

How do I create an animated gif from still images (preferably with the command line)?

I want make a .gif animated picture from a given set of .jpg pictures. I would prefer to do it from the command line, so command line tools would be very welcome.
Maythux
  • 82,867
  • 54
  • 239
  • 271
162
votes
15 answers

Create a single pdf from multiple text, images or pdf files

I have a bunch of text files, images and pdf files which I want to convert into a single pdf file. How do I do it?
AJha
  • 2,823
  • 4
  • 17
  • 12
127
votes
7 answers

How can I scale all images in a folder to the same width?

I want to scale all images in a given folder to the same width (but different appropriately scaled heights). How can I do this using a GUI-based or command-line tool? For bonus points, is it possible to restrict which images are scaled based on…
lofidevops
  • 20,414
  • 30
  • 103
  • 166
125
votes
14 answers

Tool to add shapes, annotations and text using templates to images

Often I need to annotate (draw some arrows, lines, basic shapes like squares, ellipses etc and enter some text) on top of pictures (JPG, PNG images) and screenshots (again png images). I would also need to be able to crop, resize etc. I tried the…
koushik
  • 4,992
  • 4
  • 27
  • 35
102
votes
11 answers

Gimp: Export every layer as a separate PNG image

I have come to a situation where I have an image in Gimp with multiple layers. Now, I want to export every single layer as an individual image (PNG format preferably) automatically to a folder somewhere. Is this possible? The long method: Hide all…
Parto
  • 15,027
  • 24
  • 86
  • 114
81
votes
1 answer

How to crop borders/white spaces from image?

I have a lot of images which have white borders around them. I would like to crop those borders all at once, preferably from command line. I believe that it can be done with ImageMagick, but I couldn't find suitable command. I know that it can be…
Rafal
  • 1,787
  • 4
  • 20
  • 29
77
votes
5 answers

Does "diff" exist for images?

You can compare two text files very easy with diff and even better with meld: If you use diff for images, you get an example like this: $ diff zivi-besch.tif zivildienst.tif Binary files zivi-besch.tif and zivildienst.tif differ Here is an…
Martin Thoma
  • 18,749
  • 26
  • 70
  • 97
74
votes
9 answers

Rotate images from terminal

I have a directory with a lots of images but they are in the wrong orientation. I want to rotate the images to correct the orientation (mostly ±90o). Using image (shotwell photo) viewer I can rotate them individually by clicking the rotate button…
pranphy
  • 1,588
  • 7
  • 19
  • 26
67
votes
6 answers

Cropping Images using Command Line Tools Only

I want to crop an image using command line tools only indicating pixels to crop for the four directions (the same way we can crop in LibreOffice) For example: crop image.jpg -top 5px -bottom 7px -right 14px -left 3px Is there such a tool (not GUI)?
Maythux
  • 82,867
  • 54
  • 239
  • 271
63
votes
8 answers

Batch processing tif images? Converting .tif to .jpeg

I'm trying to mass convert a handful of .tif files. I found phatch could look like a good candidiate but I'm running Ubuntu 11.04. Looks like they don't have a .deb for my version. Anyone have any alternatives to phatch or any other recommendations…
chrisjlee
  • 10,716
  • 14
  • 45
  • 51
61
votes
4 answers

How can I split an animated .gif file into its component frames?

How can I easily split an animated .gif file? I want to see each frame. I would really prefer to not to export every frame to a directory. I'd like to view them individually in one application if possible. Is this possible on Linux?
Kris Harper
  • 13,397
  • 12
  • 56
  • 73
1
2 3
24 25