Re: [Image-SIG] [Pythonmac-SIG] PIL binaries -- please test

2010-06-05 Thread Christopher Barker
Matthias Baas wrote: Christopher Barker wrote: Ha! I haven't had a look at selftest.py before. That script requires an inplace build which I didn't do. Instead, I was pointing PYTHONPATH inside the build directory yup -- that will confuse things. But when I link against the static lib, the te

Re: [Image-SIG] [Pythonmac-SIG] PIL binaries -- please test

2010-06-05 Thread Matthias Baas
Christopher Barker wrote: >> *** PIL CORE support not installed > > That sure doesn't look good! > >> *** TKINTER support not installed >> --- JPEG support ok >> --- ZLIB (PNG/ZIP) support ok >> *** FREETYPE2 support not installed >> *** LITTLECMS support not installed > > neither do those. Ha!

Re: [Image-SIG] Getting PIL to work on OSX Snow Leopard

2010-06-05 Thread Simon Mosk-Aoyama
Chris, Thanks so much for the suggestion! I ran the otool command and noted that the _imaging.so is linked to the wrong (newer) libjpeg: simon@/Users/simon/: otool -L PIL/_imaging.so PIL/_imaging.so: /opt/local/lib/libjpeg.8.dylib (compatibility version 9.0.0, current version 9.1.0)

Re: [Image-SIG] [Pythonmac-SIG] PIL binaries -- please test

2010-06-05 Thread Matthias Baas
Christopher Barker wrote: > great -- are any of them running 10.4? > > I have little time, but here is the short version: > > The goal is to get a PIL binary that is statically linked to all of its > dependencies, and those dependencies are all universal (32 bit PPC and > Intel) and linked agains

Re: [Image-SIG] Array to image problem.

2010-06-05 Thread Yury V. Zaytsev
Hi! I will not reply to any further messages you send me off the list! On Sat, 2010-06-05 at 21:40 +0300, Валери Милев wrote: > with .convert("L") and array=asarray(i) works! Thaks for the Tip!! > That is very strange because the values are the same like im my > method. The only difreance I not

Re: [Image-SIG] [Pythonmac-SIG] PIL binaries -- please test

2010-06-05 Thread Christopher Barker
Matthias Baas wrote: Christopher Barker wrote: great -- are any of them running 10.4? I have little time, but here is the short version: The goal is to get a PIL binary that is statically linked to all of its dependencies, and those dependencies are all universal (32 bit PPC and Intel) and lin

Re: [Image-SIG] Getting PIL to work on OSX Snow Leopard

2010-06-05 Thread Christopher Barker
Simon Mosk-Aoyama wrote: I've seemingly re-built libjpeg correctly from source and have re-built PIL to point at this newly built libjpeg, but it's still failing. It sure looks like you've done the right thing... Does anyone else have any idea how to solve this? NO, but something that m

Re: [Image-SIG] Array to image problem.

2010-06-05 Thread Yury V. Zaytsev
Hi! Please don't post off the list. I am under the impression that you are preparing the array in the wrong way: not only you need to have a 480x640 matrix for 640x480 image, but it also have to be transposed correctly. Also, if you need luminance only why wouldn't you just use the grayscale mo

Re: [Image-SIG] Array to image problem.

2010-06-05 Thread Yury V. Zaytsev
Hi Валери! Check this thread out for the explanation and my later postings for the cut and paste solution: http://mail.python.org/pipermail/image-sig/2010-April/006213.html -- Sincerely yours, Yury V. Zaytsev ___ Image-SIG maillist - Image-SIG@pyt