Questions tagged [magickwand]

106 questions
18
votes
10 answers

Rails - Can't install RMagick 2.16.0. Can't find MagickWand.h

I appreciate this question has been asked many times before, however I've tried all available answers to no avail. The error log is as follows: have_header: checking for wand/MagickWand.h... -------------------- no "gcc -E…
Mark
  • 6,112
  • 4
  • 21
  • 46
15
votes
5 answers

python wand.image is not recognized

I installed Imagemagic (both 32 and 64 bits versions were tried) and then used pip to install wand, I also set the Magick_Home env. variable to imagemagic address but when I run Traceback (most recent call last): File "", line 1, in…
c.Parsi
  • 771
  • 2
  • 9
  • 26
10
votes
2 answers

Use python wand to grayscale image

I want to use the Python API binding for ImageMagick http://wand-py.org to directly manipulate images. I am however not able to deduce from the documentation how to use a grayscale transformation. Can anybody provide information on this…
user2075719
  • 111
  • 1
  • 6
10
votes
2 answers

Compositing two images with python wand

I need to use python wand (image-magick bindings for python) to create a composite image, but I'm having some trouble figuring out how to do anything other than simply copy pasting the foreground image into the background image. What I want is,…
Alberto A
  • 1,160
  • 4
  • 17
  • 35
9
votes
3 answers

Python Magickwand pdf to image converting and resize the image

I need to create thumbnails of pdf files, and I am using Imagemagick to achieve that. I have tried Pythonmagick and wand to convert the pdf to an image. However, when I try to resize the converted pdf, the resulting image becomes black. Is there…
user1725030
  • 143
  • 1
  • 7
7
votes
1 answer

What is the MagickWand equivalent of the "-colors" option?

I have several images that I'm processing with ImageMagick. In this case, I'm converting an RGBA PNG into an indexed PNG. If I use the convert tool, I have reasonable control over the number of colors in the indexed PNG: $ convert infile.png…
Troy J. Farrell
  • 1,252
  • 11
  • 18
6
votes
0 answers

advanced text formatting with wand (magickwand)

While creating images with formatted annotations i have found image magick ability to render html like formatted text (pango http://www.imagemagick.org/Usage/text/#pango ). Further investigation showed that there is no pango functionality…
etk
  • 83
  • 2
5
votes
5 answers

imagick installation issues on the lion

Currently i'm having issues with installing imagick correctly on the mac lion with MAMP. I have ImageMagick-6.7.3 successfully installed. I've tested out the calls on command line. Note: The bin folder of the ImageMagick-6.7.3 has Magick-config,…
darewreck
  • 2,576
  • 5
  • 42
  • 67
5
votes
2 answers

PNG compression with PHP magickwand

I'm wondering how to compress an PNG image correctly. The situation is this : I have a PNG image compressed and color-reduced with Irfanview on Windows. It's about 20KB. When my portal software resizes (using magickwand 1.0.7) it with default…
Claudio030
  • 151
  • 1
  • 6
3
votes
2 answers

Wand python get pixel color with GIF

I want get rgb color some pixel in gif from wand.image import Image with Image(blob=img, format='JPG') as picture: print picture[1][1].string # return srgb(0,0,0) is good Problem: from wand.image import Image with Image(blob=img,…
3
votes
0 answers

ImportError: MagickWand shared library not found

The below shows me trying to run my code with a response that the MagickWand shared library is not found and that imagemagick library is not installed. So I try to install, but it shows it's already installed? Any advice for next steps to trouble…
user2012677
  • 5,465
  • 6
  • 51
  • 113
3
votes
3 answers

Importing Wand in Python Ubuntu 14.04

I'm fairly new to Ubuntu, Python and have never used imported anything in Python before. My Ubuntu system has Python2.7, 3 and 3.4 installed. I'm trying to start working with Wand for an assignment. Using this documentation from Wand website I…
chautob0t
  • 117
  • 1
  • 3
  • 13
3
votes
2 answers

unable to build magick for golang

I am following this document for building the Go Imagick library. When i ran the following command go build -tags no_pkgconfig imagick It throws the following exception : # imagick src/imagick/affine_matrix.go:8:29: fatal error:…
Naresh
  • 5,073
  • 12
  • 67
  • 124
3
votes
2 answers

wand - text wrapping - based on the image file size

Hi am trying to write text over an image. But the text overflows. Is there any way to wrap such textual content to fit inside the image? from wand.image import Image from wand.drawing import Drawing from wand.color import Color with…
vjn
  • 33
  • 6
3
votes
0 answers

python: wand autocompress monochromatic image on export. Any workaround?

I'm working on a tool that cuts a large image into smaller tiles using ImageMagick via Python. And I need all the tiles to be on the same format (png, 8 or 16 bits). In most case, it works just fine, but on monochromatic tiles ImageMagick compresses…
1
2 3 4 5 6 7 8