By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,496 Members | 1,517 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,496 IT Pros & Developers. It's quick & easy.

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

P: n/a
Thank you, again, Michael, for all your help many months ago.

I *FINALLY* got a HowTo done up; please see http://wiki.python.org/moin/HowTo/FileMagic

I've also emailed Mr. Hupp to see if he'll re-post the SWIG version;
he's working on a newer binding (forget... ctypes??) and once that
one's working... :)

But for now...
Cheers,
Larry
REF:
http://groups.google.com/group/comp....ff4049a7bfdfc0
Oct 26 '08 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Larry Hale wrote:
Thank you, again, Michael, for all your help many months ago.

I *FINALLY* got a HowTo done up; please see http://wiki.python.org/moin/HowTo/FileMagic

I've also emailed Mr. Hupp to see if he'll re-post the SWIG version;
he's working on a newer binding (forget... ctypes??) and once that
one's working... :)
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?

Carl K
Oct 26 '08 #2

P: n/a
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.

Oct 27 '08 #3

P: n/a
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/...ck-0.8.tar.bz2

Carl K
Oct 27 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.