The "convert" command, from the ImageMagick® software suite is a program to convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more.
Questions tagged [imagemagick-convert]
1387 questions
0
votes
2 answers
ImageMagick Convert: how to add alpha shadows upon RGB image?
Given a RGB image :
Given a grey scale, opacity 0% to opacity 100% black image:
How to add the alpha shadows upon the RGB image using a shell command ? (preferemce for ImageMagick Convert)

Hugolpz
- 17,296
- 26
- 100
- 187
0
votes
1 answer
Image Magic convert svg to png issue
I have installed ImageMagick on My OS X 10.9.1 by using following
brew install wget
brew update
brew cleanup
brew doctor
brew link libpng freetype
brew install imagemagick
brew install ghostscript
convert -density 300 test.svg -resize 1040x1090…

Urvish
- 1,758
- 4
- 16
- 23
0
votes
1 answer
Translating ImageMagick command to iOS
I am trying to convert the following ImageMagick command into objective-c:
convert photo.png -posterize 6 photo2.png
I'm basically just trying to take some UIImage and apply the simple posterize effect to it. I written up the code below and it's…

Ser Pounce
- 14,196
- 18
- 84
- 169
0
votes
1 answer
Better thumbnail creation of raw images
I'm building a web application (RoR) that manages images that are in raw image format. I need to create thumbnail/web versions of these images to be displayed on the site. Currently, I'm using imagemagick, which delegates to dcraw to produce the…

cgat
- 3,689
- 4
- 24
- 38
0
votes
0 answers
Add text to a video with effects using FFMPEG
I need to add text in between a video. I have seen drawtext and seems it wont give effects to the text to be displayed.
My intention is to show a text within a box with some background to that box which should fly from left to right in between a…

user2727765
- 616
- 1
- 12
- 28
0
votes
1 answer
How do I efficiently concatenate ImageMagick and convert commands to produce a no of images
I have a big big size image of dimensions 4000*4000. I want to carry out various operations on the image :
convert a.jpg -crop 6x6@ +repage +adjoin tile_6_%d.jpg
convert a.jpg -crop 9x9@ +repage +adjoin tile_9_%d.jpg
convert a.jpg -crop 3x3@ +repage…

Sahil Grover
- 1,862
- 4
- 26
- 57
0
votes
0 answers
How can chrome handle PDFs better than Firefox or ImageMagick
In my application I import a variety of images into my database, but before storing them I convert them all to PNG using ImageMagick's convert script.
Every once in a while I encounter PDFs that can not be converted properly although they render…

Reza S
- 9,480
- 3
- 54
- 84
0
votes
0 answers
Imagick Equivalent Of This Imagemagick Command?
I'm trying to create a vignette effect, and I can get desired result through command line. But when I try it with Imagick, I'm not getting the desired result
convert i.jpg ( -size 150x150 radial-gradient:black-white -gravity center -crop 100x100+0+0…

user1545997
- 1
- 4
0
votes
1 answer
Converting Html to GIF - size ignored
On my Ubuntu box I have installed htlm2ps in order to convert a simple html file to a GIF. My html file looks like this:

bardu
- 727
- 2
- 8
- 24
0
votes
1 answer
What is Imagick equivalent of following Imagemagick command?
What is the Imagick equivalent of following Imagemagick command?
convert i.jpg -set colorspace RGB ( -clone 0 -fill black -colorize 100% ) ( -clone 0 colorspace gray -negate ) -compose blend -define compose:args=70,30 -composite o.jpg
I did the…

user1545997
- 1
- 4
0
votes
1 answer
MiniMagick error: undefined method 'size' for nil
undefined method 'size' for nil:NilClass occurs at MiniMagick::Utilities.which('mogrify').size in def choose_processor mini_magick (3.7.0) lib/mini_magick.rb.
It seems like mini_magick gem doesn't find my ImageMagick.
I am using Windows 7,…

Ivan Wang
- 8,306
- 14
- 44
- 56
0
votes
1 answer
PHP GD or Imagick class Image Magick Conversion
I need to convert some command line imagick code into the php classes. I can't run command line scripts on our production box so I need to be able to use the classes, unfortunately there's no documentation on converting between the two.
Does anyone…

kurtfoster
- 353
- 3
- 14
0
votes
0 answers
How to convert 32 bit jpg images to 24 bit image using php and without imagemagick
I have code which creates jpg image from hexadecimal string. The generated jpg image having 32 bit depth but i want to make it 24 bit. Is it possible to change the bit depth without imagemagick ??
Here is the code to generate JPG Img :
$hexstring =…

CPP
- 47
- 2
- 7
0
votes
1 answer
getting imagemagick to work on shared host
I have a basic imagemagick script that works fine on windows, but wheni run it on the linux server (shared / hostgator) the images get created but the shave command doesnt get applied. The code im using is here:
$exp=path/to/file.jpg
$size =…

FstaRocka
- 278
- 1
- 2
- 15
0
votes
1 answer
How to use mask and combine 2 images into 1 using imageMagick?
I have a JPEG template:
I need put a JPEG image inside that grey mask and save it as a JPEG.
(so resize the jpeg, and put it where the greay mask is).
Is there a way to do that using php and imagemagick extension ?
Regards

yarek
- 11,278
- 30
- 120
- 219