ImageMagick is a set of command line utilities to modify, transform, and convert images. The utilities are available for all major OSes.
0
votes
1answer
31 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 ...
0
votes
0answers
13 views
Does ImageMagick's “convert” support 12 bpp?
Does ImageMagick's convert support 12 bpp?
Such as:
time convert -size 1920x1080 -depth 12 BGGR_BAYER:./frame0 ./frame.png
If my raw data is 12bit, and I use 16bpp to convert, is the generated ...
0
votes
0answers
19 views
Imagemagick do not transform color to transparent
Here is the command I type when I want to generate a new theme of icon :
for x in *.xbm; do
convert -fill "#AA5500" -transparent white -colorize 100 "${x}" "${x%.*}.png"
done
It was working when ...
1
vote
1answer
81 views
Can ImageMagick make thumbnails from video?
I'm trying to extract thumbnails from video via ImageMagick. I found some samples from their official site, but it makes GIF, not PNG. I want a solid thumbnail though.
Can it create the same output ...
3
votes
2answers
84 views
ImageMagick Convert: How to produce sharp resized PNG files from SVG files?
I am using this command to generate a sharp 512px wide version of an SVG file that I have:
convert -geometry 256 pinterest.svg pinterest.png
This is the source file:
<?xml version="1.0" ...
0
votes
1answer
30 views
CentOS 6.3: yum install ImageMagick, identify and convert don't work
I ran "yum install ImageMagick" on our CentOS 6.3 server, which worked fine, but identify -version and convert don't work (-bash: /usr/local/bin/identify: No such file or directory).
I originally ...
0
votes
1answer
30 views
How can I run mogrify, but prefix the filename?
I have 300k+ jpg files in the same directory. Files are like:
/covers
0788862281217.jpg
0788863155104.jpg
7888311516341.jpg
7888370920479.jpg
7888497074277.jpg
I need to batch resize saving the ...
0
votes
0answers
66 views
ImageMagick Script Error: ': No such file or directory @ error/blob.c/OpenBlob/2644
I am trying to run the following script in terminal:
mogrify -resize 900x10000 *.JPG
mogrify -resize 900x10000 *.jpg
for f in *.JPG
do
echo "<tr><td><img ...
0
votes
1answer
13 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 ...
1
vote
2answers
51 views
Averaging subsets of images with imagemagick, iteratively
I have a hundred images and I want to average them 5 at a time.
The imagemagick command for the first 5 is:
convert -background transparent %d.jpg[1-5] -average output1.jpg
The imagemagick ...
2
votes
1answer
81 views
imagemagick image conversion piped in avconv fails
I am trying to write a script that should take all sort of images (format, size...) and create a video with avconv. I've managed to make it work with a series of jpg (all the same size though) and I'm ...
0
votes
0answers
63 views
How to install ImageMagick 64-bit on Windows Server 2008 R2 64-bit with Apache 2.4
I use Apache 2.4 64-bit and PHP 5.4.9 64bit VC thread safe.
I'm trying to install ImageMagick for PHP. I think the problem is a DLL file, so I searched for something compatible for php_imagick.dll.
...
0
votes
0answers
72 views
How to Use GraphicsMagick to Convert Multiple Layers of PSD
What I intend to do is getting seperate layers as jpg or png from a single psd file using GraphicsMagic.
The result is what this thread try to avoid.
when I type:
'/usr/bin/gm' convert ...
4
votes
0answers
140 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
42 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
55 views
Converting PDF to images preserving the vectorial quality
I'm using ImageMagick to convert some PDF to files to PNG images, and I'm experiencing some quality problems because the generated image has very low quality.
I played with the density, resample, ...
1
vote
1answer
84 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, ...
10
votes
2answers
509 views
Why is the gif I created so slow?
I am using ImageMagick to turn a collection of pngs into a single gif. I want this gif to loop as quickly as possible.
This is approximately the output I expect (courtesy of Wikipedia):
This is ...
1
vote
1answer
161 views
Unable to execute port when installing ImageMagick
I'm trying to install ImageMagick by using MacPorts. I've successfully installed MacPorts by using their Mountain Lion .pkg file.
I open the terminal and run:
sudo port install ImageMagick
However ...
0
votes
1answer
69 views
Automatically name output of montage based on input files
I have a folder with images separated into channels:
IMAGE_A_R.jpg
IMAGE_A_G.jpg
IMAGE_A_B.jpg
IMAGE_A_RGB.jpg
IMAGE_A1_R.jpg
IMAGE_A1_G.jpg
IMAGE_A1_B.jpg
IMAGE_A1_RGB.jpg
IMAGE_B_R.jpg
...
2
votes
1answer
88 views
Use imagemagic to put several JPG on one page
I have a folder full of jpg files. When I use the following command,
convert *.jpg assembly.pdf
I get a pdf file with one image per page of the pdf. I would like to put 9 images on each page. Is ...
1
vote
0answers
61 views
transparent gradients with graphicsmagick
I'm trying to create a gradient that goes from transparent to some color. With imageMagick you can do that with (taken from the documentation):
convert -size 100x100 gradient:none-firebrick ...
1
vote
1answer
42 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
94 views
Batch convert with imagemagick jp2 to jpg
What command i need to run to put in img/ folder with same name on ubuntu jpg file with 35% quality converter from jp2?
On windows i run such bat:
for /d %%d in (*) do (
for %%f in ("%%~d\*.jp2") ...
1
vote
1answer
281 views
generating video slideshow with avconv but maintaining image ratio
This may have already been answered.. but I'm struggling to search for it!
I have a set of images, of varying dimensions that I've created a 'fade affect' with, using imagemagicks convert command.
...
0
votes
1answer
199 views
Transparency issues when converting png's to gif
I am using imagemagick's convert to take a set of PNG's and convert to GIF.
The command I am using is
convert -delay 10 -loop 0 *.png out.gif
I like the results as there is little drop in visual ...
0
votes
1answer
34 views
What is the Ubuntu package for Image Magick Wand Development?
What is the Ubuntu package for Image Magick Wand Development ?
Please help.
apt-get install ....
3
votes
0answers
205 views
Get crisp, clear thumbnails from MP4 with FFmpeg / ImageMagick
My ultimate goal is to get meaningful snapshots from videos that are either 30 min or 1 hour long. "Meaningful" is a bit ambitious, so I have simplified my requirements.
The image should be crisp - ...
1
vote
1answer
50 views
Macports Imagemagick Install for PHP
I'm trying to install Imagick for PHP via Macports and the PECL extension, based on the guide here:
sudo port install ImageMagick
sudo pecl install imagick
I entered the opt/local path and setup ...
0
votes
2answers
89 views
Why am I getting “No such file or directory” after install?
If I command convert --version it shows this.
bash: /usr/bin/convert: No such file or directory
All what I did was this
1. $ wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz
2. $ ...
2
votes
1answer
291 views
How can I remove “ImageMagick” completely?
I think I accidently did install 2 ImageMagicks to my CentOS 5.8 before.
Version 6.2.8 was removed by
yum erase ImageMagick
However, it still shows this when I typed $convert -version
Version: ...
0
votes
0answers
117 views
ImageMagick video filter for FFmpeg
I'd like to apply some non-trival video operations on a per-frame base.
So far, I've been using shell scripts + ImageMagick + FFmpeg, decomposing the video into individual frames on disk, processing ...
1
vote
1answer
59 views
ImageMagick Append Image sequence Filenames
I am using the animation tool Synfig to export a sequence of .png files. These are in the following format:
C1.0000.png , C1.0001.png, C1.0002.png and so on.
I want to convert these to a spritesheet ...
0
votes
1answer
299 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 ...
0
votes
1answer
77 views
Can't Start Apache on on Snow Leopard. “libphp5.so requires version 13.0.0 or later, but libjpeg.8.dylib provides version 9.0.0”
To cut a long story short, I was trying to compile and get ImageMagick working on my Mac running Snow Leopard.
One thing led to another and now I am stuck with the following error message when I try ...
1
vote
1answer
115 views
How do I use cpulimit with ImageMagick?
I am converting (using ImageMagick) a directory of image files (using a bash for loop in shell).
I notice that "convert" is taking up a large amount of CPU use (88% and up). However, If I try to ...
0
votes
1answer
424 views
Installing imagick on OS X with MAMP 2.1.1
I sincerely hope someone here can help me before I lose all my hair.
I'm developing a php web app requiring imagick extension and want to test it locally. I have os x 10.8.2 (Mountain Lion) and MAMP ...
0
votes
1answer
1k 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: ...
0
votes
0answers
23 views
ImageMagick apply multiple masks to the same file at once
So,
composite buffer_file blank_file mask_file outfile
that's how I apply a single mask to a file. I want to apply multiple masks to a file at once. Is there anyway to accomplish that?
1
vote
1answer
273 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 ...
2
votes
1answer
198 views
Convert .cdr file to .jpg using imagick api
how do i Convert .cdr file to .jpg using imagick api, i have done conversion of .ai and .psd files.But .cdr file aint working?please help
0
votes
0answers
36 views
Convert a gray PNG with alpha to a 1-bit black rectanble with 8-bit alpha
I use a tool to render LaTeX equations as PNG. The resulting images are in RGBA8888 format. I would like to extract the luminance (grayscale from RGB channels, multiplied by the A channel) as my new ...
0
votes
0answers
141 views
How can I make PHP imagick work on Windows 8 with IIS 8?
I'm new to IIS server before IIS for 6 years I used Apache 2.X and with Apache imageMagick and its PHP module imagick worked just fine even with x64 version of PHP and Apache 2.4 and imageMagick.
I ...
0
votes
0answers
73 views
batch split note scans with automatic recognition of parts in page
I regularly use paper to make notes and concepts for most things, work and others. To be quick when having an idea I note them one after another, just to make sure I find things later, I use paper ...
3
votes
1answer
276 views
Building ImageMagick on OSX Lion and can't link libpng
I am trying to build ImageMagick 6.8.0-5 on OSX Lion with support for libpng. I am just using the standard ./configure make make install procedure.
I succeed in compiling when I do not reference ...
2
votes
2answers
116 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 ...
2
votes
1answer
766 views
Apple Automator “New PDF from Images” maintaining same filename
I will potentially have 26k of old legacy PICT images to transfer first to PDF for migration. I am using Apple Automator and also the "Dispense Items Incrementally" to loop through it. However, I ...
0
votes
0answers
166 views
Converting one page of TIFF using ImageMagick takes much longer on virtual server
We are converting single pages of a multi-page TIFF to JPEG using ImageMagick. A typical conversion takes less than a second on our test (physical) servers and indeed on my laptop. On a production ...
-2
votes
1answer
70 views
How can I shrink the dimensions of an image file without losing any information? I use linux operating system
I would like to resize an image (say png format) using convert. The tricky thing is that I want to retain the quality of the image when I resize the image back to the original dimensions.
For ...
0
votes
2answers
59 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 ...
