Module python-magic on/for Windows - UPDATE: WORKING & HowTo!!!

Carl K carl at personnelware.com
Sun Oct 26 23:23:53 EDT 2008


Michael Torrie wrote:
> Carl K wrote:
>> I need to convert pdf to png, which imagemagic convert does, I think by using
>> ghostscript.  a little over a year ago I tried with some imagemagic (there are
>> at least 2 i think) and neither seemed close to working (for pdf that is.)  any
>> idea if pdf conversion is working?
> 
> python-magic isn't about image conversion.  libmagic has nothing to do
> with ImageMagick.  It's a library for identifying what type of file
> something is based in it's signature (magic number).  This is the same
> library that drives the unix "file" command.
> 

I was wondering why the docs didn't seem very image related.... Someone may want
to add a note that python-magic isn't PythonMagick:

http://www.imagemagick.org/download/python/PythonMagick-0.8.tar.bz2

Carl K



More information about the Python-list mailing list