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
2 answers

Trouble Installing ImageMagick for Windows

I just downloaded ImageMagick but am not sure if it's working. I typed in 'which convert' into my terminal and nothing happened. I also tried typing in 'convert logo: logo.gif' then 'identify logo.gif' and lastly 'display logo.gif' and nothing…
sgx
  • 1,265
  • 3
  • 19
  • 36
0
votes
1 answer

In node imagemagick-native how to add callback method for convert method

In below convert method i need to add callback method.How can i do that. var imagemagick = require('imagemagick-native'); var srcData = require('fs').readFileSync('./test/test.png'); imagemagick.convert({ srcData: srcData, …
sachin
  • 13,605
  • 14
  • 42
  • 55
0
votes
1 answer

ImageMagick convert from GRAY to TIFF using stdin

I have a file I'm saving in raw GRAY format, which then gets converted to tiff. Running the command as follows works: convert -size 1024X1024 -depth 16 -endian MSB imgTemp.gray /tmp/bla.tiff but changing to use stdin as the input doesn't: cat…
NindzAI
  • 570
  • 5
  • 19
0
votes
1 answer

php ImageMagick exec -draw text doesn't work as expected - special characters

exec($IM_path."convert -size 800x300 xc:black -font ".$linktottf." -pointsize 16 -draw \"fill white stroke none decorate underline text 580,28 Kühle Frische, not working\" output.png"); The "draw text"-part in the code above…
John Doe Smith
  • 1,623
  • 4
  • 24
  • 39
0
votes
1 answer

ImageMagick RGB to CMYK conversion results in very dark images

On one server (running ImageMagick 6.7.7) when I convert RGB to CMYK the resulting images are fine, but when I run the same command on another server (sadly the production one!) I get much darker images. I've tried removing colour profiles etc.…
0
votes
3 answers

Starting an ImageMagick Exe Process and resizing the image

I am using ImageMagick convert.exe(to re-size a image) in command line. It works great. But if I do the same in C# then It doesn't work. It does not show any error and all the lines run just fine. The StanderdErrorOutput is also empty. Any idea?…
Imran Qadir Baksh - Baloch
  • 32,612
  • 68
  • 179
  • 322
0
votes
1 answer

How do I split an image to multiple images of the same height?

I have a screenshot with buttons in them: EDIT: I changed the image as the previous one produced an expected result. The height of each button is 48px (44px is the actual button, 4px is the bottom spacing). How can I: trim the screenshot split it…
silvenon
  • 2,068
  • 15
  • 29
0
votes
2 answers

Failed to convert NCL high-resolution postscript to png

I got an postscript file from a NCL script whit the mpDataBaseVersion = "HighRes" (high resolution map). and I got ImageMagick 6.2.8 run in RHEL 5.6 i386. when I ran convert high-resolution.ps test.png, I got: Error: /undefinedresult in…
zx1986
  • 880
  • 2
  • 12
  • 18
0
votes
1 answer

ImageMagick JPEG compression block size

Does anyone know what processing block size (8x8 or 16x16 ??) is used in JPEG compression by ImageMagick? And, is there a way to change this default block size?
pree
  • 2,297
  • 6
  • 37
  • 55
0
votes
1 answer

Converting SVG with parameters to another file type?

on my website, I have an SVG image which is generated using parameters from a form that a user selects. All works fine, but I'm struggling to think of a way to do the next part. Once the user is finished, they click a button... I want this button to…
user1952067
  • 97
  • 1
  • 8
0
votes
0 answers

Image cropping with absolute pixel values

I'm trying to crop a small part of an image. I used ImageMagick command for this as below: convert image.jpg -crop 6x6+16+16 +repage image_crop.jpg However, when I try to compare pixel values in both the images for the same block, it doesn't match.…
pree
  • 2,297
  • 6
  • 37
  • 55
0
votes
1 answer

Image magick code working on centos but not on windows

Here is my code below exec("convert -page 90x54 script_o.gif \\( script_o.gif -repage +37+0\! \) output.gif"); which works fine on my webserver(centos), but it does not work on my wamp server, but i have checked other im codes which works fine on…
Friend
  • 1,326
  • 11
  • 38
  • 62
0
votes
1 answer

Imagemagick convert make thumbnail bigger than box

I am trying to make thumbnails which would be bigger than a box. Idea is to show thumbnail and on mouse over show the correct aspect ratio. Example Box size: 100x100 (min size) If image is 3000x2000, i need 150x100 If image is 2000x3000, i need…
mithuntnt
  • 507
  • 1
  • 5
  • 17
0
votes
1 answer

second ImageMagick process fails in Python

OS Ubuntu 12.04 precise, python 2.7.3, pyramid web framework, IM 6.4.7-1 I've got Python code (inside a Pyramid Web Framework application, but that should be irrelevant) which takes a captured image capture.jpg and then needs to do two ImageMagick…
0
votes
1 answer

ImageMagick: creating a transparent rectangular image and appending a square logo at the center

I have a 70px x 70px image logo. I want to make a 170px X 70px transparent image and append the logo in the center of this. How can this be achieved with the ImageMagick command line tool convert.exe? Any help will be highly appreciated. Thanks.
WatsMyName
  • 4,240
  • 5
  • 42
  • 73