Use this tag for questions related to the changing/combining of files containing pictures or other images. (Dumps of filesystems are often called images, but handling those is not called image-manipulation)

learn more… | top users | synonyms

1
vote
1answer
26 views

ImageMagick vs GraphicMagick: How to move image

So, I have a bunch of files that I use as the basis for my wallpapers. Using ImageMagick, I can convert then using: convert \ -resize '1920x1080>' \ -extent 1920x1080 \ -background ...
2
votes
2answers
115 views

How to split an image vertically using the comand line?

So, say I have a large 800x5000 image, how would I split that into 5 separate images with dimensions 800x1000 using the command line?
0
votes
0answers
27 views

Match the palette color property output list from Imagemagick convert with online color descriptions?

I use ImageMagick to extract a linear swatch of unique colors from some image to explore different color palettes; list properties of these colors; and make an approximation of the "average" color - ...
3
votes
1answer
91 views

Why is ImageMagick's `compare` command so slow and is there an alternative?

I have a shell script running on an little Atom based Micro-ATX box that is doing some watchdog-like functions for a number of devices on a local network. One of the things it's doing is monitoring ...
3
votes
1answer
59 views

Is there a way to flatten a .pdf image from the command line?

In GIMP, I can import a .pdf, and use the GUI to flatten it (if it was made with many layers) by selecting "Flatten Image" in the "Image" dropdown menu. I can then export the .pdf with a new ...
0
votes
1answer
55 views

How can I make a montage which seamlessly tiles the same one image file?

I would like to preview how one single image (768x1024 px .tiff) would look as a pattern by generating an output file where it is tiled in such and such a way (4x4, 5x5, etc.). The image should be ...
1
vote
1answer
53 views

Merging pairs of TIFF files in a directory

For example, say a given directory has 1000 TIFF files named sample1.TIFF, sample2.TIFF, etc., all the way to sample1000.TIFF. I want to merge each pair of files: sample1.TIFF and sample2.TIFF are ...
2
votes
4answers
459 views

How to resize a PNG file from the command line?

Suppose I have a image named 1.png which is currently 500px : height 1000px : width I want to resize it to: 50px : height 100px : width It must be output in PNG format, not JPG. An example would ...
1
vote
0answers
52 views

How can I add a still image inside a video with avconv or opensource software

I would like to add a still image inside a h264 video following an in and out point in time. I would like to use only opensource/free Linux/Debian packages. I tried a lot of things with avconv like ...
3
votes
1answer
851 views

Crop SVG drawing to canvas size in command line

I have SVG images produced by PlantUML, which has some parts of drawing outside of canvas. It makes it difficult to use such images and I need to crop drawing to canvas size. As I produce UML diagrams ...
1
vote
2answers
2k views

Convert image with imagemagick command line convert tool

I have an image Image.png. How do I use the ImageMagick command convert to make this file into a Image.jpg file with the following requirements: File size is 200~500 kb. Resolution in not less than ...
3
votes
3answers
189 views

Cropping a JPG image

This is a question about image file cropping. I recently posted a public notice to an Indian newspaper called the Free Press Journal. This is available online as The Free Press Epaper. Now, one can ...
2
votes
1answer
3k views

open corel draw files on debian

So I have .cdr files on my PC and I want to open them on my Debian 7 box. What software do I need to be able to open it?` I have: 512 MB RAM 3 GHz processor 256 MB graphics with Debian 7
1
vote
0answers
29 views

Linux display server or program that can route video and/or images between its clients?

The JACK Audio Connection Kit (http://jackaudio.org/) is a really useful tool for working with audio on linux systems. It allows for both audio and MIDI data to be communicated between its clients, ...
0
votes
4answers
2k views

How to rotate all images in a directory with imagemagic?

I want to rotate all the images in a directory that match a pattern. So far I have: for file in `ls /tmp/p/DSC*.JPG`; do convert $file -rotate 90 file+'_rotated'.JPG done but that gives no ...
5
votes
3answers
1k views

Change file created date from JPEG EXIF metadata

When uploading to an ftp site, the original file create date seems to be lost, and I get the upload date instead. However, the Exif data in the file is correct. Is there a tool to batch change the ...
1
vote
1answer
126 views

Quick and dirty way to edit scans

I've got a lot of documents that I want to scan that require only modest editing. Mainly trimming the edges, splitting in two (when I scan two pages in one scan), and possibly adjust the perspective ...
2
votes
3answers
2k views

shell command to get pixel size of an image

Is there a shell command that returns the pixel size of an image? I'm trying to produce an animated gif starting from different gifs with different sizes using convert (e.g. convert -delay 50 1.gif ...
5
votes
3answers
2k views

Command line convert webp to jpg?

I'm using ubuntu 12.04. I've installed libwebp2 & libwebp-dev So far, no example found on the net of converting webp to jpg. Some webp files can easily converted by using imagemagick with ...
0
votes
1answer
131 views

Removing all tags from images [duplicate]

Possible Duplicate: Batch delete exif info How can I remove all tags from images under a directory (using Linux)? I can find all files with something like find pictures -type f -iname ...
2
votes
1answer
111 views

How to convert JPG files to one JPG file

I have several JPG files from a PDF file, so concatenating the JPG files need to be "under each other". How can I do this?
4
votes
1answer
365 views

How to rename all files and add image size to file name

I can`t make this work. I have a lot of images and i want to rename his name and append image size to name using exiv2 exiv2 pr * prints all info about file # exiv2 pr 9b523e5a002268fe5067a928 File ...
1
vote
1answer
129 views

Define length and scale picture

Is there any program under linux where I can do the following: Suppose I have for example a scan of a drawing on a squared paper and suppose that the squares of the original paper have any distance ...
3
votes
4answers
3k views

convert single-page landscape pdf into rescaled double-page portrait pdf

I'm having trouble using convert to do the following: I have a bunch of single-page pdf files whose geometry corresponds to a landscape A4 sheet. The actual content is visually split in 2 pages. ...
16
votes
4answers
22k views

How can I convert a PNG to a PDF in high quality so it's not blurry or fuzzy?

There are a lot of questions out there about how to convert a PDF file to a PNG image, but I'm looking to take a nice sharp PNG file and just basically wrap it or embed it in a PDF file without having ...
5
votes
1answer
567 views

Redirect terminal output to image file

I need to programmatically run some unix commands and get the output in a image file, the format could be png or jpeg (jpg). The commands are run in an AIX (IBM *nix) machine. I don't have ...
2
votes
1answer
440 views

*ix based Morphing software?

Morphing is "a special effect in motion pictures and animations that changes (or morphs) one image into another through a seamless transition", according to Wikipedia here. My friend recommended some ...
2
votes
1answer
98 views

Given a .gif, return the color components as X11-style hexadecimal specifiers (or equivalents)

I am a fan of potrace, and I recently read the Potrace FAQ. The FAQ includes this beautiful one-liner: cat img.gif | giftopnm | ppmcolormask #641b1b | potrace The command I am looking for would ...
3
votes
3answers
1k views

Is there a command line tool for image manipulation?

I'm searching for a tool for command line image manipulation. I want something similar to pinpoint presentation tool where I edit a file and can directly see the results on another window. I can get ...
9
votes
1answer
3k views

Open source duplicate image finder for Linux?

Is there a free and open source duplicate image finder for Linux based systems? Finding exact duplicates (based on content, not file name) is sufficient for me, but the ability to find similar images ...
4
votes
1answer
575 views

Resize a very tiny xcf image without blurring or dithering it

I have some drawings I made with an Intuos tablet. All of these drawings are 25x35 or so. The color of each pixel was very carefully selected. They're kind of like 'miniatures.' I need to resize ...
1
vote
2answers
575 views

Change Linux boot logo

I want to change the penguin logo that appears on boot. I looked into it and found this command: pngtopnm nelogo.png | ppmquant -fs223| pnmtoplainpnm > logo_linux_clut224.ppm But when I tried it ...
2
votes
1answer
1k views

Convert pdf to jpg keeping the same name; resize & create thumbs then rename?

I have a lot of pdf files (3308) on which I must apply four steps: 1) I have to convert all to jpg I found this little script on the web with ImageMagick: batch converting pdf to jpg I want to do ...
4
votes
1answer
622 views

How can I generate CMYK images via the command line under Linux?

I have an application I have developed which is generating RGB PNG images with text on them via imageMagic, like so: convert -size 1000x1000 -density 300 xc:white -pointsize 24 \ -fill "rgb(0,0,0)" ...
3
votes
1answer
2k views

Convert a folder of images into a multi-page pdf file usind command line tools?

I have a folder with 100 jpg images. I want to convert these images into a multi-page pdf file, with all the images (cropped to A4 size). They are already in the correct rotation. Which tools should ...
5
votes
1answer
1k views

imagemagick creating one big image by piling up thousand of images of the same width?

I've got a few tens of thousands of images all of 2000 pixel width, and I would like to pile them up in one big image of summed up height and 2000 pixel width. I guess there must be a way to do that ...
0
votes
1answer
249 views

Image (having text-and-numbers) to text-file matching [:alnum:] nicely with some Unix -tool?

Suppose a photograph with text and numbers. I want to manage it in my editor with tools such as grep, standard text-processing things such as Vim's block-highlighting and also more advanced things ...
10
votes
4answers
3k views

Batch delete exif info

How can I recursively remove the EXIF info from several thousand JPG files?
2
votes
5answers
779 views

Are there any animation programs for animating static images?

I'd like to make a simple movie with my kids. I've taken some pictures of toys and cropped them to be the characters. I'd like to make a movie where these move against some background (ie the ...
1
vote
3answers
567 views

Clipboard for images

I often read some text with images and often happens that the text talks about an image that is on the next page and next page and previous page and I have to go back and forward and usually forget ...
4
votes
1answer
2k views

Resizing and croping images to an aspect ratio of 6x4 with width of 1024 pixels

I have a mixed set of images, each one has a slightly different resolution with a slightly different aspect ratio from other images. I have tried using commands like convert -resize and convert ...
4
votes
1answer
369 views

Extract graphs from PDFs

I have a situation where I need to extract images from lots of PDF files and display them on a website. My PDFs have "regular" images as well as lots of graphs. I used pdf2xml and it pulls out the ...
9
votes
4answers
15k views

pdf to jpg without quality loss; gscan2pdf

When I convert a pdf file to bunch of jpg files using convert -quality 100 file.pdf page_%04d.jpg I have appreciable quality loss. However if I do the following, there is no (noticeable) quality ...
0
votes
1answer
54 views

Writing to picture which is scanned document

I have a scanned contract and I need to change only a few names and dates in the contract. It's easy to scan the document but impossible to ocr the document and open in *.doc format. Is there an ...
3
votes
2answers
623 views

Oneliner for slicing an image?

I'm looking for a oneliner command that would slice an image into given proportions. Say input would be filename and slice dimensions. Are there any standard command-line tools for this? I tried ...
2
votes
2answers
888 views

Measuring the length of a curved line

Is there a software tool that will allow me to measure the length of a curved line? I have a series of lines in an image that I want to measure the length of. I have a tablet so I can trace over the ...
2
votes
1answer
709 views

How to scale xvfb?

I'm looking to develop a web-application that translates request parameters into a PNG/GIF chart. I'm looking to reuse an open source charting library, but I have concerns about the scalability. A ...
5
votes
3answers
187 views

What tools to use to eliminate metadata in graphics files?

What tools can I use to delete all the EXIF, IPTC, XMP, etc metadata from graphics files?
11
votes
3answers
2k views

remove extra tilespace from a montage (ImageMagick) composite image?

I have a bunch of photos. They're all the same height, and I'm trying to put them together into a composite image using ImageMagick's montage program via Bash. The problem is that by default, the tile ...
3
votes
1answer
1k views

Montage together five gifs

I have five gifs all with the same number of frames and the same framerate. Is it possible to montage these together into one gif where each frame is similar to a normal montage of static images and ...