Questions tagged [image-processing]

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

Filter by
Sorted by
Tagged with
370 votes
14 answers
525k views

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's user avatar
  • 34.2k
321 votes
7 answers
471k views

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, ...
mandy's user avatar
  • 3,231
249 votes
4 answers
317k views

How to resize an image through the terminal? [duplicate]

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 ...
Md Kutubuddin Sardar's user avatar
202 votes
14 answers
220k views

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's user avatar
177 votes
9 answers
223k views

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's user avatar
  • 84.2k
164 votes
15 answers
242k views

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's user avatar
  • 2,843
132 votes
14 answers
106k views

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 ...
koushik's user avatar
  • 5,072
128 votes
7 answers
151k views

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 ...
lofidevops's user avatar
  • 20.9k
103 votes
11 answers
208k views

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 ...
Parto's user avatar
  • 15.3k
82 votes
1 answer
94k views

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'...
Rafal's user avatar
  • 1,807
81 votes
5 answers
70k views

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....
Martin Thoma's user avatar
  • 19.3k
76 votes
9 answers
108k views

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 ...
pranphy's user avatar
  • 1,608
71 votes
6 answers
87k views

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 -...
Maythux's user avatar
  • 84.2k
65 votes
5 answers
93k views

How do I convert a PNG to SVG?

I'd like to be able to crop SVG chemical structures, completely (see this question), that were created using MarvinSketch and I think I might have thought of a solution; I use MarvinSketch to create a ...
Josh Pinto's user avatar
  • 7,919
63 votes
8 answers
90k views

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 ...
chrisjlee's user avatar
  • 10.8k
61 votes
4 answers
74k views

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 ...
Kris Harper's user avatar
  • 13.5k
58 votes
3 answers
119k views

How can I turn photos of paper documents into a scanned document?

My scanner has broken! I do have a good camera though so I've taken a few photos of the documents I want to scan... However they look like photos of paper, not scanned documents: Images aren't flat ...
Oli's user avatar
  • 293k
55 votes
3 answers
71k views

How can I export a PDF from GIMP with each layer on a new page?

I have multiple layers open in GIMP. I would like to export a pdf that has each layer on a new page.
Morgoth's user avatar
  • 1,843
53 votes
9 answers
84k views

How can I compress images?

I have 5,000 images which I need to compress (to display on my website). I am new to Ubuntu. So what do I do?
user2950593's user avatar
53 votes
3 answers
31k views

How to mirror image files via command line?

What I want to do is very simple. I've a file.png, which I want to mirror, i.e. the result should be a "reflection" of the original image. I know big tools like GIMP and InkScape can do that, but I'm ...
Sergiy Kolodyazhnyy's user avatar
48 votes
5 answers
26k views

How do I create highlights on a screenshot?

In Chipaca's answer to Managing files and sync scenarios there's a screenshot with certain highlights. The highlights are the following: A row of a GUI list is highlighted by the other parts of the ...
N.N.'s user avatar
  • 18.2k
47 votes
2 answers
110k views

How do I crop from the default image viewer?

I recall an Edit Image button in 11.04 that would bring up a second window with a Crop button easily visible. But now, in 11.10, I see no such button. In fact, I can't find a way to crop at all from ...
John's user avatar
  • 3,937
46 votes
12 answers
55k views

How to convert CR2 to JPG or PNG?

I need to convert a lot of CR2 photos to either JPG or PNG, no editing. How to do this?
user284848's user avatar
44 votes
6 answers
47k views

How do I join two images together?

I want to join two image files in Ubuntu 12.04. Is there any way I can accomplish this? Is there any utility for joining image files, perhaps something like MS-Paint in Ubuntu?
Vipin Verma's user avatar
  • 5,454
41 votes
5 answers
69k views

How to upload many images to Google Photo?

I have 70k images in 2k directories on my Ubuntu PC. I want to upload them to google photo to the unlimited store (called "high quality" with reduced size). This solution looks too complicated to ...
guettli's user avatar
  • 1,737
39 votes
7 answers
218k views

How do I install python imaging library (PIL)?

How do I install the python imaging library (PIL) on Ubuntu? I tried doing sudo apt-get install python-imaging but now when i run python selftest.py (a script I got from somewhere on the http://...
David Cary's user avatar
38 votes
2 answers
37k views

How can I determine the size of an image from the command line?

I have an image called ZEAKR.jpg. How can I know its size and format from the command line?
Agmenor's user avatar
  • 16.2k
38 votes
3 answers
81k views

How to copy a layer between images or canvas in gimp 2.8?

I have two image tabs open and I want to copy one layer from the first image to the second image keeping dimensions and size. How would I do that? Example: I have this 640px by 400px first image ...
Parto's user avatar
  • 15.3k
38 votes
2 answers
44k views

Resize images to specific height value in ImageMagick?

I've looked around for this, and can't find an easily implemented solution. Currently I'm working on an application that deals with panoramas. As they come out of the batch stitch process, the ...
Jason's user avatar
  • 1,240
37 votes
8 answers
43k views

Convert thousands of .pngs to animated .gif, `convert` uses too much memory

Many of the questions asking how to create an animated gif from a set of png images suggest to use a variant of ImageMagick's convert command: convert -delay 2 -loop 0 *.png animated.gif However, I ...
dotancohen's user avatar
  • 2,815
33 votes
3 answers
39k views

How to get/edit EXIF meta-data of multiple images?

I ran into big problem yesterday night. I took out my old digital camera, and started using it without setting current date and time. All photos clicked now have date as Jan 01, 2009 I want to change ...
I-M-JM's user avatar
  • 555
33 votes
3 answers
88k views

Image format conversion from terminal?

Is there any way to convert image formats from Ubuntu terminal? Particularly from eps to png/jpg or to any other formats.
Sooraj S's user avatar
  • 1,101
33 votes
4 answers
31k views

Merging two pictures

Is there a tool in Ubuntu to automatically merge two images having a common strip? I need to scan a large image, which will not fit at once in the scanner. I was thinking about scanning it in two ...
Andrea's user avatar
  • 1,299
31 votes
1 answer
20k views

How can I change a picture's file size?

Every so often, I try to upload a picture to a website and encounter a message: Upload failed: the file size can't exceed n MB! I know that resizing the picture's dimension should get me below n ...
Exeleration-G's user avatar
30 votes
5 answers
17k views

Is there a command to get the number of frames in a gif?

Is there a command to get the number of frames in a gif? I have some gifs, and I want to convert them into arrays, but I want to limit the array, and structure of the array based on the number of ...
j0h's user avatar
  • 14.8k
30 votes
1 answer
24k views

Is there a command line tool to bulk extract images from a pdf? [duplicate]

I have a pdf catalog that was given to me from a client in pdf format. They don't have the images but they're in the pdf. Is there a way to extract all images from a pdf using a command line tool ...
chrisjlee's user avatar
  • 10.8k
28 votes
1 answer
28k views

How do I print an image over multiple pages? [duplicate]

I have a very tall image (880x9445 pixels) which I would like to print (specifically, to PDF). But when I print the image it always comes out as one page; there does not seem to be any way to scale ...
DisgruntledGoat's user avatar
24 votes
7 answers
51k views

How to edit detailed image metadata (exif)?

How can I edit detailed image metadata (exif) fields? In Windows 7 this is just a right click on the file in the folder. I've searched and not found a way to edit detailed metadata (exif) fields in ...
Charles's user avatar
  • 359
23 votes
4 answers
19k views

Software for making mosaic image from a collection of images

I have a collection of images and an image that I want to generate from that collection. What software is there available for Ubuntu for generating a mosaic image? How to do it?
Seppo Erviälä's user avatar
23 votes
4 answers
4k views

Stitch scanned images using CLI

I have scanned a newspaper article which was larger than the scanner glass. Each page was scanned twice: the top and the bottom parts, where the middle part appeared in both images. Is there a way to ...
Adam Matan's user avatar
  • 12.5k
18 votes
3 answers
2k views

How can I take a screenshot from a window, with customizable margins

I need a tool that will do the following: selecting a window, will make a screenshot of that window with a x padding, like in the following image: So, in most of the cases x will be equal with y, but ...
Ionică Bizău's user avatar
16 votes
5 answers
23k views

How can I remove the gray-scale page background of a PDF document scan while preserving the text? (Binarization)

My PDF contains 600 pages with images of text. It has 2 layers. Layer 1: Background colour image Layer 2: Text image I would like to remove all background image layers in the total PDF file as ...
Raghu G's user avatar
  • 945
16 votes
4 answers
4k views

Get printer-ready black text on white background in scanned pdf files (remove grayscale or color background)

How can I turn photos of paper documents into a scanned document? is related, but not the same, as I'm talking about pdf files. The processing of images seems complicated in the answers under the ...
cipricus's user avatar
  • 3,426
15 votes
5 answers
17k views

How do I find out if a PNG is PNG-8 or PNG-24?

I have a PNG file but I can't tell if it's PNG-8 or PNG-24?
Exil's user avatar
  • 545
15 votes
3 answers
20k views

How to add a border using Imagemagick

I'm want to add to my pictures in Imagemagick: white colored border 2 inches wide How can I do it?
Deniz's user avatar
  • 721
15 votes
2 answers
6k views

ImageMagick convert and low RAM

Please consider the following command for the imagemagick package: sudo convert -resize 460x200 /path/to/test1.jpg /path/to/test2.jpg Now test1.jpg is a fairly large image (12.5MB), but not unheard ...
Aphire's user avatar
  • 203
14 votes
2 answers
13k views

How to convert graphical images to ASCII art?

I want a custom image in my terminal made of characters, is there a program I can use? Specifically, the gear within my school's robotics logo.
George Vokac's user avatar
14 votes
2 answers
5k views

How to merge images in a single PDF or image file

I have some images which I want to merge. By this I mean that if I have 5 images, I want to arrange them in this way: I want to do this using a command so that I can use a Bash script for it. For ...
Mohammad Reza Rezwani's user avatar
14 votes
5 answers
16k views

Any way to automatically compress a .gif file?

I have a 2.0 mb gif I want to make smaller, preferably by dropping some frames. Is there a command line utility or a program that will do it for me automatically? Thanks.
chiba's user avatar
  • 141
14 votes
1 answer
13k views

How to divide an image in X equal parts

I am working to create a Google group for Ubuntu but one thing I want to do is create the main image that goes in the top (The one that divides into 5 pieces). How can I divide an image horizontally (...
Luis Alvarado's user avatar

1
2 3 4 5
8