0
votes
1answer
27 views

Transfer transparency from one image to another using imagemagick

I am trying to take the alpha channel from one image and apply it to another. In this particular case I want to "fix" the corners on the pink one. I want to use the alpha channel from the black one. ...
1
vote
1answer
60 views

How to display a picture and print pixel coordinates when I click?

When using ImageMagick or similar command line tools it can be useful to know coordinates of some points in the image. How to display an image (with panning and zooming) and print coordinates of ...
1
vote
0answers
66 views

Best settings to convert massive pdf hiking maps to images using ghostscript/imagemagick

I did convert all of the Te Araroa Hiking Maps from PDFs to JPEGs so far. The original maps are 16-64MB PDFs, which take forever to load on my Android Phone. I converted them using Ghostscript and ...
0
votes
0answers
84 views

Using imagemagick or gifsicle to output GIF with specific filesize?

I have been following this online guide to convert a small video clip into image frames, then combine them together into a single animated GIF. The problem I'm having is that each GIF tends to be ...
0
votes
1answer
162 views

Normalise levels, contrast, brightness of an image sequence

When making animated gifs or short stop-motion videos from an image sequence, I want them to have all similar levels so that the output looks smooth. It does not have to be a professional quality ...
1
vote
1answer
111 views

What is wrong with this attempt to crop an image with ImageMagick's convert utility?

I am trying to make a tool that will, in imitation of responsive design on the web, make iPhone / iPad wallpapers by taking the largest centered crop-to-device-dimensions it can, and programmatically ...
3
votes
2answers
592 views

Convert BMP to PNG while preserving alpha channel

I have an image stored in BMP format and would like to convert it to PNG using imagemagick. I looked at the pixels in a hex viewer and noticed that they are stored in 32bpp, so there is an alpha ...
0
votes
1answer
64 views

Cutting in half and rearranging pages of tif document

I scanned in a booklet, and now I have a tif file with "pages" composed of two real pages each, in the order 6/7,5/8,4/9,3/10,2/11,1/12. Is there a way (tool, imagemagick command, etc.) to slice each ...
9
votes
1answer
298 views

Tile animated gifs

Is there some way to use imagemagic / montage to tile looped animated gifs (intermixed with nonanimated ones)? That is, I want to concatenate the animations in space, not in time. I realize that the ...
2
votes
1answer
860 views

Getting the predominant colour in an image?

Is it possible to get the predominant colour in an image from the command line? Ideally I'd like it back as hex or RGB. I thought it might be possible to do this with imagemagick's identify command, ...
0
votes
1answer
622 views

PDF to PNG with ImageMagick/GhostScript: Colorspace=sRGB breaks script

In order to convert a PDF with 100 pages to single PNG files, I've been using the following command: C:\Program files\ImageMagick\convert -density 150 -alpha Opaque file.pdf file.png But that ...
2
votes
2answers
245 views

How to identify the format of images in a pdf?

I have received a number of pdf files with images in them. The original images have been lost, so I need to extract them. I have Adobe Acrobat Pro, so I extracted them using Advanced > Document ...
0
votes
2answers
91 views

Identify specific PNG format

How can I tell, ideally with an Imagemagick identify command, whether a particular PNG is PNG32, PNG24 or PNG8? The %z or %[depth] gives the sample depth (not the pixel depth), which is always 8 or ...
4
votes
3answers
4k views

How do I change the canvas size of a PNG with ImageMagick (GraphicsMagick)? (How to pad with transparency?)

Alternatively: How do I take a non-square PNG and "fill out" the "rest" of the image with transparency so that the resulting square image has the original image centered in the square? ULTIMATELY, ...
0
votes
3answers
2k views

How to batch-convert JPG files to uncompressed TIFF

I need to collect 1000 uncompressed TIFF files. I have a large set of JPG images, so I decided to convert them to TIFF format. The loss in quality is ok in this case for me. I used the following ...
0
votes
1answer
3k views

How to convert a photo to a black and white image by imagemagick?

How can I convert a jpeg photo to black and white (not grayscale) image like output of a FAX scanner, by imagemagick?
0
votes
1answer
115 views

Batch Image Labelling

I have an image I would like to make 50-100 copies of, but for each copy a label is added in the form of a number corresponding to the copy number. Is there existing software that does this? Is there ...
7
votes
4answers
2k views

How can I tell if my image is CMYK from Linux command line?

I'm converting images from RGB to CMYK. How can I tell if my image is CMYK from the Linux command line?
1
vote
2answers
331 views

Any way to make two images the same size and/or aspect ratio in ImageMagick?

Suppose I want to have two images side by side in a slide but they are different sizes. I know I can use "mogrify" and "convert" and all that to resize them, but it's a pain to type in the exact ...
2
votes
1answer
265 views

Linux wallpaper change

I am looking for a tool that can resize images and display them on the root window of an X11 display at a specific coordinates. I can use display from iagemagick like so display -window root ...
1
vote
1answer
323 views

Should jpegtran remove more bytes than mogrify strip?

I'm currently using mogrify -strip image.jpg to remove unwanted bytes from images, it was suggested I could remove further data by using jpegran from libjpeg, something like: jpegtran -copy none ...
32
votes
1answer
23k views

Combine multiple images using ImageMagick

I would like to combine multiple images into one image using ImageMagick. To explain a little better, I want the result to look similar to this: That is, I have a number of screen shots, and I want ...
6
votes
2answers
212 views

Mass recoloring of PNGs from command line

Similar to the mass rescaling command this site taught me here, is there a command-line trick for mass recoloring? To make it specific, suppose I have a bunch of images with RGB and alpha values: ...
3
votes
1answer
956 views

Linux: concatenate several images into a PDF file with several images per page

I know that ImageMagick's convert program can be used as follows to convert a collection of images -- say, in PNG format -- to a PDF file: convert *png output.pdf The problem with this is that each ...
1
vote
2answers
569 views

ImageMagick requirement for Paperclip plugin

The Ruby on Rails paperclip plugin says that I need to install ImageMagick in order to use Paperclip. I'm typically really bad at getting things installed and running, so I was wondering if anyone ...
0
votes
1answer
492 views

ImageMagick is incorrectly showing some images as negatives

1 2 3 4 Image 1 is the original main file as displayed by ImageMagick display. It is showing up as a negative, but shouldn't be. When displayed using other tools, it's ...
1
vote
1answer
290 views

How to make this imagemagick command work correctly?

# create a 2 color image from scratch to supply colors for mapping $ convert -size 10x10 xc:white -fill red -draw 'rectangle 0 0 5 5' \ -colors 2 +dither bicolor.gif # map 'em, Danno! $ convert ...
0
votes
2answers
295 views

Does mogrify copy images that fall through resize filter?

I want to run the following command: mogrify -path /somepath -resize '1600x1600>' * are Images, that don't exceed the size of 1600x1600 copied to /somepath? (I am asking, since they would fall ...
4
votes
1answer
2k views

ImageMagick - Replace the transparent part of a GIF with a solid colour?

I have a GIF file that has a transparent section. I want to replace that with just plain white (or some other colour), so that there is no transparent parts. Can I do this on the command line with ...