Questions tagged [imagemagick-convert]

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.

1387 questions
0
votes
0 answers

Imagemagick not creating correct color

So I when I rung this command: convert -size 32x32 xc:transparent -fill "#ff0000" \ -draw "circle 15,16 8,10" png32:"/Users/rzec/test test.png" a round circle is created however the color is not FF0000 but it is #FC0F1D. Is there any…
ryanzec
  • 27,284
  • 38
  • 112
  • 169
0
votes
1 answer

ImageMagick Convert not generating correct color

When I run this command: convert -units PixelsPerCentimeter -type TrueColorMatte -channel RGBA -size 32x32 -alpha transparent xc:none -fill "hsla(60 ,83% ,64%)" -draw "circle 15,16 8,10" png32:"/test.png" I am getting an image with a color of…
ryanzec
  • 27,284
  • 38
  • 112
  • 169
0
votes
1 answer

Looks like gifsicle is not installed in the usr/bin/ folder. How can I install it?

First off, I see convert but not gifsicle in the usr/bin/. Am I looking in the wrong place? I want to compress animated GIFs using https://pornel.net/lossygif but it needs gifsicle to work. so far i've gotten: exec("convert $animation -coalesce…
Jeromie Devera
  • 376
  • 2
  • 6
  • 21
0
votes
1 answer

Running imagemagick convert with ProcessBuilder

I want to run the following command on Windows command prompt: convert -density 50 -pointsize 70 -font Arial label:"Text with spaces" output.gif This command uses imagemagick and makes a gif file with the text "Text with spaces" and saves it to…
user1555863
  • 2,567
  • 6
  • 35
  • 50
0
votes
1 answer

Perspective distortion rendering - ImageMagick

whenever we apply some transformation using imagemagick convert command , it tries to ensure that the resulting image is of the same size as that of the original image . is there a way such that we get the whole rendered image with transparent/white…
Deepesh
  • 99
  • 2
  • 11
0
votes
2 answers

How to do mass convert/resize images with different orientaton with use ImageMagick?

I have some folder containing vertical and horizontal images and I want resize image into smaller format and lower quality. Some of them has format: width = 3x, height = 2x - i.e. 3000x2000 or 1500x1000. width = 2x, height = 3x - i.e. 2000x3000 or…
Chameleon
  • 9,722
  • 16
  • 65
  • 127
0
votes
1 answer

Can ImageMagick return the convert result

I'm using ImageMagick from the command line to convert pdf to image convert -density 300x300 -resize 800x600 -quality 85 1.pdf[1,2,3] ZIEL.jpg However, I don't know the result of this operation.this command has nothing output,can anyone know how to…
0
votes
1 answer

PHP using Imagik to convert uploaded image to pdf format

I have a basic php based file uploader script. What I am looking to do is after the file is uploaded if the file that was uploaded is an image mime type then convert it into a pdf Attached is the code I am using. Also I have Imagemagick and Imagick…
Jayreis
  • 253
  • 1
  • 7
  • 28
0
votes
1 answer

PHP Imagick's fxImage not working at all

I have a simple convert's imagemagicks command-line which I want to mimic with PHP's Imagick class: convert \( "image1.jpg" \) \ \( -size 1x256 gradient:white-black \ -rotate 90 \ -fx "floor(u*10+0.5)/10" \ \)…
Thomas
  • 222
  • 2
  • 14
0
votes
1 answer

ImageMagick (imagick) creating pyramidal tiff image using php

I am trying to convert a large (>1gb) tiff image into a pyramidal tiff with tile-geometry at 256x256. At the moment I am currently running this command in php: exec("convert nopyramid.tif -define tiff:tile-geometry=256x256 -compress jpeg…
Spatial Pariah
  • 351
  • 4
  • 17
0
votes
2 answers

How to output white png version of my image ?**

With ImageMagick shell command (convert?)... Given a colorful input.png image. How to us input.png to produce a white output.jpg version with similar dimensions an opacity of 100% ? I will later on use this layer in my workflow.
Hugolpz
  • 17,296
  • 26
  • 100
  • 187
0
votes
1 answer

ImageMagick: How to create a black rectangle with opacity 40%?

I work on a longer workflow to design elegant maps (project @Wikiatlas). With ImageMagick shell command (convert?)... How to output a 1200px wide, 1000px high black png image with an opacity of 40% ?
Hugolpz
  • 17,296
  • 26
  • 100
  • 187
0
votes
2 answers

How do I find the largest nearly white rectangle in a bitmap with ImageMagick?

I'd like to automatically clean up visible borders/shadows in scanned pages. My idea for doing this is simple: detect a largest rectangle in the image in which all pixels are white or nearly white, then crop the image to that rectangle or floodfill…
reinierpost
  • 8,425
  • 1
  • 38
  • 70
0
votes
1 answer

ImageMagick on 32-bit Windows - convert.exe: no decode delegate for this image format - .svg to .jpg

I'm trying to convert a .svg file to a .jpg file. I have it working on a 64-bit version of windows 7, but when I installed it on a 32-bit version of Windows Server 2008 and run this command: convert in.svg out.jpg I get this error…
Blake Erickson
  • 755
  • 1
  • 9
  • 28
0
votes
1 answer

stuck after imagemagick convert command

I use mac os mavericks and now need to use convert command. It worked before, however now it just stuck when I type the following command: echo test|convert -font Monaco label:@- name.jpg I have to ctrl-c it. Could smbd help how to get it back…
s0le
  • 9
  • 4