Questions tagged [magickwand]

106 questions
0
votes
1 answer

Use ImageWand component of ImageMagick lib with CMake

I'm programming in C. I want use ImageMagick library but some fuction can't be resolved. This is my cMakeList.txt file: cmake_minimum_required(VERSION 3.3) project(WebServer) set(CMAKE_C_COMPILER "/usr/bin/gcc") set(SOURCE_FILES io.c server.c…
Emanuele Vannacci
  • 321
  • 1
  • 6
  • 15
0
votes
0 answers

Regarding high resolution pdf imagemagick

I am using magickwand for php, to convert html to pdf which includes lots of images. I need to have high quality resolution pdf for offset printing. My issue is, while conversion from html to pdf, quality of images reduced by 30% and taking lot of…
0
votes
0 answers

Does yii2 uses the magickwand extension?

I'm getting this random error in my Yii2 project Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/magickwand.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20131226/magickwand.so: cannot open shared…
General Electric
  • 1,176
  • 3
  • 21
  • 44
0
votes
1 answer

Imagemagick API: MagickQuantizeImage vs. MagickTransformImageColorspace

To convert an image to grayscale, I've tried: MagickQuantizeImage(wand, 256, GRAYColorspace, 0, MagickFalse, MagickFalse); and MagickTransformImageColorspace(wand, GRAYColorspace); in my program and both works as expected. But what's the difference…
KF Lin
  • 1,273
  • 2
  • 15
  • 18
0
votes
3 answers

ImageMagick API - export pixels with correct orientation

I've been using this method to export pixels using the MagickWand API: MagickExportImagePixels But, this doesn't appear to obey the orientation exif data in the image. Is there anyway to extract the pixels in the correct orientation, so I can write…
Jordan
  • 1,599
  • 4
  • 26
  • 42
0
votes
2 answers

Create square thumbnails with Python + MagickWand

How can I create square thumbnails with Python and Wand? I'm trying to make square thumbnails from source images of any size. It's important that the thumbnail have the same aspect ratio as the original, cropping is ok, and it should fill the sapce…
ensnare
  • 40,069
  • 64
  • 158
  • 224
0
votes
1 answer

MagickWand: transparent SVG part rendered as white background

I am trying to read SVG images using ImageMagick (6.8.8-7) and get valid transparent pixels. The code below is working well with PNG format, but for SVG i can only have some white background. So i tried to add MagickSetBackgroundColor, and…
0
votes
1 answer

MagickWand for iOS - implode image

I am trying to implement the functionality of imploding a region within an image. I am using MagickWand within the iOS application, but through MagickWand API I am not able to specify the region of the image (through x and y coordinates) that I…
bosist
  • 79
  • 1
  • 8
0
votes
1 answer

Integrate ImageMagick & MagickWand with php ubuntu 12.04

I have installed both ImageMagick and MagickWand in my ubuntu system by refering to the detailed instructions provided in Install ImageMagick From Source and MagickWand For PHP. When I chack whether ImageMagick is installed or not by command…
dipak_pusti
  • 1,645
  • 2
  • 23
  • 42
0
votes
2 answers

Losing transparency of png with php magickwand and imagemagick when rotation is applied

Hi I'm porting a script from a windows environment running MagickWand 0.1.8 and ImageMagick 6.2.9 where transparency worked fine with MagickRotateImage. New environment is linux running MagickWand 1.0.8 with ImageMagick 6.5.4-7 and transparency gets…
0
votes
1 answer

WhiteThresholdImage magick

how to use WhiteThresholdImage with magick++ ? I search for it and i found for solutions and so i try: #include using namespace Magick; int main() { Magick::InitializeMagick(""); Image image; …
0
votes
3 answers

PHP use of IMAGEMAGICK or imagick or magicwand

I use Imagemagick (www.imagemagick.org) Since i am on hostgator i also have imagick and magickwand installed. I can do simple manipulation with imagick and magickwand but if i want to reproduce the advanced tutorials at imagemagick.org i…
Email
  • 2,395
  • 3
  • 35
  • 63
0
votes
1 answer

How to white pad/border an image with magickwand?

I have an image that is 180x240 and I want to pad/border it with white until it fits the size 360x240, so the original content from image won't get distort. http://www.magickwand.org/ - I can't find any suggestive function in the documentation
user1236048
  • 5,542
  • 7
  • 50
  • 87
0
votes
1 answer

Installing MagickWand for PHP on Ubuntu

I apologize in advance for the newb-ish question. I'd like to install MagickWand for PHP (http://www.magickwand.org/) on my ubuntu server. Is there a simple "apt-get install" command I can use? The website tells me to install MagickWand by…
Jake
  • 809
  • 1
  • 8
  • 18
-1
votes
2 answers

ModuleNotFoundError: No module named 'wanda'

I am trying use to create an image with logo on it I have "logo.png" and try to add logo in multiple images and add into the ppt using pptx in python but I have problem about how to install wand module in my pc.