[Image-SIG] 64-bit PIL for Windows

2013-06-25 Thread Brian White
Hi! Just wondering if there was a 64-bit compilation of PIL for Windows? I have AMD64 Python2.7 and it won't load the 32-bit C _imaging DLL. Brian bcwh...@pobox.com -- *Treat someone as they are and

Re: [Image-SIG] Python 3 port -- first pass finished

2012-11-01 Thread Brian Crowell
On Thu, Oct 25, 2012 at 10:31 AM, Brian Crowell wrote: > The test runner *looks* like it includes support for this module: > > http://pypi.python.org/pypi/coverage I got it working this morning. The results are quite awesome, but could use some tweaking. To get it working, I had to:

Re: [Image-SIG] PIL for python 3.X?

2012-10-30 Thread Brian Crowell
.7 and 3.2/3.3. Alex is looking to do a release later this year; he can chime in about the timing. You can help us by testing the version found at: https://github.com/fluggo/Pillow --Brian ___ Image-SIG maillist - Image-SIG@python.org http://mail.pyth

Re: [Image-SIG] Python 3 port -- first pass finished

2012-10-30 Thread Brian Crowell
work in both versions, so I should issue a deprecation warning that says to switch to those names. --Brian ___ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig

Re: [Image-SIG] Python 3 port -- first pass finished

2012-10-25 Thread Brian Crowell
You would pass "--coverage" to run.py or the individual tests. Haven't tried it yet. --Brian ___ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig

Re: [Image-SIG] Python 3 port -- first pass finished

2012-10-25 Thread Brian Crowell
, and so the tests had to be yours. My bad. Your work has been a very useful guide during this process. --Brian ___ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig

Re: [Image-SIG] Python 3 port -- first pass finished

2012-10-24 Thread Brian Crowell
image plugins that aren't exercised. I'm adding patches as I write more tests and fix more plugins. --Brian ___ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig

[Image-SIG] Python 3 port -- first pass finished

2012-10-21 Thread Brian Crowell
ytes objects, not str. str is now Unicode, so binary data doesn't belong there. For more information on the changes, please read my comments in the patch series. Feedback is welcome and much appreciated. --Brian ___ Image-SIG maillist - Image-SIG@

Re: [Image-SIG] rehash_collide, strict aliasing, and pointer sizes

2012-10-13 Thread Brian Crowell
On Sat, Oct 13, 2012 at 10:56 PM, Brian Crowell wrote: > union { > void *ptr; > int val; > } uresult, uvalp = { *valp }, unewval = { newval }; ...and just after I send that, it occurs to me that the code could just be trying to store an int in the space re

[Image-SIG] rehash_collide, strict aliasing, and pointer sizes

2012-10-13 Thread Brian Crowell
, void *newkey, void *newval) { *valp=(void *)(((size_t) *valp) + ((size_t) newval)); } ...? --Brian ___ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig

Re: [Image-SIG] Adding Python 3 support

2012-10-10 Thread Brian Crowell
proach. Essentially all I'm going to do is update the Python source to where it meets Py3 syntax and library requirements, get the extension modules to build under both Py2 and Py3, then futz with the bytes/str division using the three existing ports as a guide. After that, all

Re: [Image-SIG] Adding Python 3 support

2012-10-09 Thread Brian Crowell
1.1.7. I hoped to hear from Alex Clark. He looks like the main contributor. --Brian ___ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig

Re: [Image-SIG] Adding Python 3 support

2012-10-09 Thread Brian Crowell
seems to me the sensible plan is to combine the previous Python 3 ports (counting Hajime's, that's three I've found) on top of current Pillow, and drop support for Python 2.5 and older. I'll get started. --Brian ___ Image-SIG maillist

Re: [Image-SIG] Adding Python 3 support

2012-10-08 Thread Brian Crowell
Or perhaps maintaining a separate branch with Python 3 code? --Brian ___ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig

[Image-SIG] Adding Python 3 support

2012-10-08 Thread Brian Crowell
n code. Let me know your thoughts on this, and if anyone's beaten me to working on this. --Brian ___ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig

[Image-SIG] Jpeg not working correctly with Python 2.7 and PIL

2012-06-06 Thread Brian
ot;easy" (or at least non-techie) fix is available on the net - and please spare me the "real men compile from source" comments :) Thanks for your help, Brian Current Python version is: Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 b

Re: [Image-SIG] that's enough

2010-07-18 Thread Brian Blais
ts who expect a single-file installation. bb -- Brian Blais bbl...@bryant.edu http://web.bryant.edu/~bblais http://bblais.blogspot.com/ ___ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig

[Image-SIG] python install problem 1 test failed selftest.testimage

2009-09-13 Thread Brian J. Gibbons
ile.py", line 180, in load d = Image._getdecoder(self.mode, d, a, self.decoderconfig) File "PIL/Image.py", line 375, in _getdecoder raise IOError("decoder %s not available" % decoder_name) IOError: decoder jpeg not available 1 items had failures: 1 of 57 in selftest.testimage *

[Image-SIG] TrueType support?

2007-07-13 Thread Brian Riordan
really appreciate it. Thanks, Brian ___ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig

[Image-SIG] changing font and size in draw.text(position, string, options)

2007-07-13 Thread Brian Riordan
) draw.textsize(string, options) => (width, height) I need to place a set of text in the upper corner of around 2000 files and need to be able to adjust the text size. I have figured out how to right the text just not how to set the text size and font type. ANy help would be appreciated. Cheers, Br

Re: [Image-SIG] Image to matrix

2007-06-05 Thread Brian Blais
Alex Torquato S. Carneiro wrote: > I'm doing a project in Python. It's a capture and process a image, I'm > using PIL for images and scipy (together numpy) for processing, about > fft, filter, etc.. > I'm needing to convert a image in a matrix type, can anyone help me? > > Thanks. > Alex. > T