0
votes
0answers
15 views

Imagemagick: Advanced JPG to PNG convertion

How could I do something like this with Imagemagick?: imagemagick -inuput:0*.jpg select-by-color:ffffff -threshold:15 -fill:fffff -mode:greyscale -mode:index:17 -output:Original_filename.png Using ...
0
votes
1answer
76 views

Imagemagick text to file batch

I want to convert text to images, but the text varies. I would like to make this a batch job. This is my first stab at the problem: #!/bin/bash COUNT=$(ls -f *.jpg *.png *.gif | wc -l) for f in $( ...
1
vote
1answer
108 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 ...
2
votes
1answer
235 views

Windows command line ImageMagick percent escapes

I'm trying to use ImageMagick from the command line in Windows 7 to convert many images at once. I would like to use the -set option interface, but I'm getting unexpected results. A short example of ...
1
vote
0answers
149 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 ...
2
votes
2answers
261 views

Imagick Convert Append 2 pdf pages

I am using the following code to make a single pdf file with multiple pages in one jpg file I am using Imagick library and PHP tcpdf convert -append path1.pdf path2.jpg Now what i need to do is to ...
1
vote
1answer
83 views

get rid of transparency of selected part of png using imagemagic

I have this png image with transparency http://s18.postimg.org/d2h2m4yl5/flatten_canvas2.png I want to get rid of transparency using imagemagick, but only of the selected part and not the whole ...
2
votes
1answer
179 views

convert image at command line to console stream

I'm looking for something like ImageMagick's "convert" but that outputs to the console. The obvious answer is "create a temp file and cat that" but I'd prefer not to have to go to the trouble. Are ...
1
vote
1answer
177 views

Imagemagick batch converting memory overload

I must to convert about billion of images from jp2 to jpg... I create such .bat for /d %%d in (*) do ( for %%f in ("%%~d\*.jp2") do ( convert -limit memory 0 -limit map 0 "%%~ff" -quality 25 ...
0
votes
1answer
4k views

Why do I keep getting this Imagemagick error?

I currently used this code for Imagemagick: convert "c:\users\****\My Documents\test.png" -transparent white test2.png However, I keep on getting two errors that look like this: convert.exe: ...
4
votes
1answer
1k views

Convert grayscale image into alpha channel image in unix shell

I have a gray-scale image. I want to convert it into an transparent PNG, such that the black pixels (in the original image) become fully opaque, the white pixels become fully transparent, a 50% grey ...
0
votes
1answer
222 views

Make imagemagick's `display` exit at terminal, preserving the window (single instance mode)

When I use imagemagick's display from command line, say: $ display -density 150 test1.pdf ... then display locks in the command line, until you exit the window (or press CTRL+C in terminal). ...
8
votes
2answers
5k views

Command Line loop to run command on all files in a directory (plus sub directories, if possible

I'm assuming this is fairly easy to do, but I have zero experience with Windows's command line utilities. Basically, I need to iterate over all files in a directory (great if it can do ...
8
votes
4answers
3k 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?
5
votes
3answers
4k views

Resizing and cropping images to 6x4 to width of 1024

I have a mixed set of images, each one having a slightly different resolution with a slightly different aspect ratio from the other images. I have tried using commands like: convert -resize and: ...
0
votes
1answer
350 views

ImageMagick cannot use identify on remote image if it contains a port number

I am having trouble using exec identify on a remote image with imagemagick if the url contains a port number. So the url appears like this: http://isite.com:81/image.jpg If I remove the :81 it works. ...
0
votes
2answers
814 views

imagemagick “CONVERT” command finer points under Ubuntu 10.4

I'm struggling a little with the command line running imagemagick. I need to convert many .jpg files to many PDF files. Each PDF has one jpg contained inside. I fount lots of tutorials on how to ...