Questions tagged [pythonmagick]

PythonMagick is a Python library that provides object oriented bindings for the ImageMagick Library.

PythonMagick is a Python library that provides object oriented bindings for the ImageMagick Library.

ImageMagick is a free software suite to create, edit, and compose bitmap images. It can read, convert and write images in a large variety of formats. Images can be cropped, colors can be changed, various effects can be applied, images can be rotated and combined, and text, lines, polygons, ellipses and Bézier curves can be added to images and stretched and rotated.

43 questions
0
votes
1 answer

pdf to JPG conversion using PythonMagick

I am trying to convert pdf file(which is scanned image with extension .pdf) into .jpg which is having multi pages using Python 3.6 with PythonMagick 0.9.13, ghostscript 0.6. All have been installed from PyCharm Interpreter Package. OS-Windows10 64…
ras
  • 41
  • 1
  • 10
0
votes
2 answers

Error installing pythonmagick , ImportError: No module named PythonMagick

I am trying to install pythonmagick on OSX (High Sierra). I followed DwishR's instructions here: https://gist.github.com/tomekwojcik/2778301 Downloaded pythonmagick from here: http://www.imagemagick.org/download/python/ Modified…
user2012677
  • 5,465
  • 6
  • 51
  • 113
0
votes
3 answers

Convert PDF images to PNG using Python on macOS

I have read a lot of articles that try to describe how to convert PDF's to a PNG image. But I simply cannot get it working. I tried to import PythonMagick on top of my script but it returns the error ImportError: No module named PythonMagick. Is it…
blackjacx
  • 9,011
  • 7
  • 45
  • 56
0
votes
1 answer

Unable read OCR PDF in Python

I'm trying to read a .pdf file for the first time in python, This file has OCR in it. from wand.image import Image from PIL import Image as PI #import pyocrfrom PythonMagick import Image from PythonMagick import Image import pyocr.builders import…
Andre_k
  • 1,680
  • 3
  • 18
  • 41
0
votes
0 answers

Trouble Installing PythonMagick on Windows 7: "Package missing..."

When I try installing PythonMagick on Windows 7 via a conda install -c melund pythonmagick=0.9.10 command, I get this error: Package missing in current win-32 channels: - pythonmagick 0.9.10* What do I need to do?
Eric
  • 41
  • 1
  • 4
0
votes
1 answer

How to install PythonMagick on Amazon Elastic Beanstalk

Since PythonMagick is not available through PIP package manager, how can I install PythonMagick on Amazon Elastic Beanstalk?
Fabio
  • 1,272
  • 3
  • 21
  • 41
0
votes
1 answer

Installing PythonMagick with boost on osx

I am trying to install PythonMagick following these instructions. https://gist.github.com/tomekwojcik/2778301 When I get to $ make I get this error Making all in pythonmagick_src CXX …
0
votes
0 answers

Make for PythonMagick results in infinite loop

I'm trying to get PythonMagick installed on my Macbook running MacOS 10.9.4. I've followed a set of instructions from various pages, including a very helpful page found here: http://www.geero.net/2011/03/install_pythonmagick_mac_os_x/ However,…
Caspar
  • 51
  • 7
0
votes
0 answers

PythonMagick - why the parameters do not reflect the ones of 'convert'

I'm doing img = PythonMagick.Image('image.jpg') img.threshold(30) Why this does not correspond to manually running convert -threshold 30% Same for 0.3. Similar problem with blur 0x1 EDIT: From documentation, threshold is related to quantum depth,…
Mercier
  • 96
  • 2
  • 7
0
votes
1 answer

PythonMagick: Convert RGB to Grayscale

I found this description link_1, link_2. Trying to do so import PythonMagick img = PythonMagick.Image('file.png') img.colorSpace('GRAYColorspace') Return this ArgumentError: Python argument types in Image.colorSpace(Image, str) did not match…
pypy
  • 1
  • 1
0
votes
2 answers

Installing PythonMagick

I cannot seem to find any instructions on how to install PythonMagick on a Mac. I've tried the instructions given on this link https://gist.github.com/2778301, but am getting following error: "No package 'MagickCore' found" Please help?
Maal
  • 481
  • 6
  • 19
0
votes
1 answer

Problems detecting PythonMagick after install Mac OSX

I followed the instructions at https://gist.github.com/2778301 but when I try to do import PythonMagick I get the error message: Traceback (most recent call last): File "", line 1, in File "PythonMagick/__init__.py", line 1, in…
user1443362
  • 645
  • 1
  • 11
  • 15
0
votes
1 answer

Error Installing PythonMagick Under OSX Lion

Has anyone here on StackOverflow been able to get PythonMagick successfully installed on a Mac computer running Lion? I've downloaded the PythonMagick source and installed all of the dependencies specified. However, when I run "./configure", "make"…
Leachy Peachy
  • 1,112
  • 2
  • 17
  • 29
1 2
3