Looks like you've found a working approach, but I'm still a bit
curious what crash means here -- do you get a segmentation violation
or a MemoryError exception? PIL needs about 2G to load that image
into memory and an additional 50% of that to finish the resizing (it's
done in two passes), so you
2011/1/9 Glenn Linderman v+pyt...@g.nevcal.com:
On 1/7/2011 5:41 PM, Fredrik Lundh wrote:
It also builds under Python 3.1 and 3.2 beta, even if
the functionality is currently *very* limited under Python 3.X.
Is there any doc that describes what does or doesn't work under 3.X?
Beyond
2011/1/10 Thomas Larsen Wessel mrve...@gmail.com:
Thanks :)
Here is an example that shows how both draw.text and draw.textsize works, as
long as a unicode-supported font is supplied. It also shows how to get the
text size directly from the font object.
import ImageFont, Image, ImageDraw
s
Yep, it's a known bug in 1.1.7. Trivial patch here:
http://hg.effbot.org/pil-2009-raclette/changeset/355
/F
2010/12/26 Kevin Paulus kevin.pau...@skynet.be:
Hello All and Merry Christmas,
I've found a bug and verified it with several of my
Slackware fanatics: it seems that Pil 1.1.7
Well, I'd say scanning falls under the image stuff umbrella, and the
Sane bindings are shipped with the PIL source code... I don't know
much about them, though, but I suspect this is a Python GIL issue.
/F
2010/12/28 Edward Cannon edw...@unicornschool.org:
wrong mailing list, this is for PIL
Added to trunk. Thanks! /F
2010/12/28 Sandro Mani manisan...@gmail.com:
Hi, following patch also adds Py_*_ALLOW_THREADS macros around the
sane_get_devices and sane_open calls which can take a long time especially
if network-scanners are accessed.
--- Imaging-1.1.7.orig/Sane/_sane.c
2010/12/1 Rajajothini Sureshkumar rajajothini.sureshku...@cae.com:
Hello,
I would like to down load pill version 1.1.7 for Python2.6 .
But I have Python 2.7 on my pc.
I wonder this is not a problem
If you're using PIL on Windows, you need the version that matches your
Python installation.
2011/1/2 Michael Fahy f...@chapman.edu:
Will there be a version of PIL for Python 2.7?
PIL 1.1.7 works well with 2.7, out of the box. Binaries for Windows
has been available under the additional downloads link on
http://pythonware.com/products/pil/ for some time, and I just added
the missing
2011/1/7 Narendra Sisodiya naren...@narendrasisodiya.com:
Can somebody give an easy way to convert a image into black and white using
a given threshold..
Currently I am doing like this
image=ImageOps.grayscale(image)
for i in range(0,width):
for j in range(0,height):
The setup output looks fine, so my guess is that your script isn't
picking up the same build as the one you get when you run the test
script. Running the following command in your PIL build directory and
your script directory will tell you what files Python are using:
python -c import _imaging;
A pre-alpha snapshot of the upcoming PIL 1.2 release is now available from:
http://hg.effbot.org/pil-2009-raclette/downloads/PIL-1.2a0-20110108.tar.gz
or via Mercurial, from https://bitbucket.org/effbot/pil-2009-raclette
I've decided to abandon the planned 1.1.8 release, including the rough
.
Is there anything else I can check?
Thanks for your help.
Adam
On 1/7/2011 3:33 PM, Fredrik Lundh wrote:
python -c import _imaging; print _imaging.__file__
___
Image-SIG maillist - Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig
On Sun, Nov 14, 2010 at 3:46 PM, Bharathwaaj Srinivasan
bharathwaa...@gmail.com wrote:
Hi,
I tried from the command line. Still getting error. Please see the log.
bhar...@bharath-laptop:~/workspace/webKit$ python2.5
Python 2.5.5 (r255:77872, Nov 3 2010, 13:18:19)
[GCC 4.4.5] on linux2
the relative import with a from PIL import and see if that helps).
/F
On 13 November 2010 02:04, Fredrik Lundh fred...@pythonware.com wrote:
On Fri, Nov 12, 2010 at 7:30 PM, Bharathwaaj Srinivasan
bharathwaa...@gmail.com wrote:
I keep getting error in import ICCProfile in PNGImagePlugin.py
On Fri, Nov 12, 2010 at 7:30 PM, Bharathwaaj Srinivasan
bharathwaa...@gmail.com wrote:
I keep getting error in import ICCProfile in PNGImagePlugin.py _save.
What am I missing? Which package contains ICCProfile?
Not sure why that code was left in there, but iirc it's an extension hook.
I've
On Thu, Oct 28, 2010 at 6:56 PM, German Ocampo geroca...@gmail.com wrote:
The issue is that using PIL I get pixel values in the greyscale of 127
or rgb(0,0,0), where really I could see in Gimp that these pixels have
a different value. Looks like PIL can decode part of the picture and
another
On Fri, Oct 8, 2010 at 6:59 PM, Sebastian Koblinger
werwilldaswis...@chello.at wrote:
Hi everybody!
I'm new to Python as well as to this mailing list and this is my question:
Is it possible to read a path provided by an SVG file, and based on that
path, make a selection of an image?
On Tue, Oct 12, 2010 at 1:31 PM, Dévji Chhãngã dev@gmail.com wrote:
Hello Image-SIG,
I am a newbie to PIL, I have following code
def __setFont (self, filename):
pilfont = ImageFont.load(filename)
return pilfont
def drawImage (self):
cg =
On Wed, Sep 22, 2010 at 7:24 AM, Rajan Gurjar rjngrj2...@gmail.com wrote:
Image.open('filename') and im.info gives the following
(640, 480)
{'resolution': (1, 1), 'compression': 'raw'}
F;32BF
Where did the F;32BF come from?
TIFF
But when I run the im.show() it gives the following error.
On Thu, Aug 5, 2010 at 10:42 AM, Martino Massalini
massalinimart...@gmail.com wrote:
Hi, i'm tryng to composite several psd coming from my render software.
Each one is a psd with the same size of the others and an alpha channel.
The problem is when i do
im = Image.open(filepath)
I alway
On Sun, Sep 19, 2010 at 12:19 PM, majoris.ur...@yahoo.co.uk wrote:
How to read pixel wise Digital Number (DN) of a JPG image using PIL?
You mean Digital Number in the ancient GIS sense? I.e. simply the
value of a pixel?
The simplest way is to use getpixel(pos) where pos is a (x, y) tuple:
On Tue, Sep 28, 2010 at 1:43 AM, Donald Price d...@donvest.org wrote:
I am now running opensuse 11.3 on an HP computer with i7-860 processor. Have
loaded python 2.6.5 and it works fine except for PIL. I can import PIL,
Image, and ImageDraw. But when I import ImageFont or try to use Image I
Just committed a fix to trunk (including some simple tests for this
operation mode...).
Thanks! /F
On Fri, Oct 8, 2010 at 6:51 AM, David Coles coles.da...@gmail.com wrote:
PIL's Image class has incorrect dimension specified for YCbCr images.
This causes issues when converting to or from NumPy
On Wed, Oct 27, 2010 at 9:41 AM, Atro Tossavainen
atoss...@cc.helsinki.fi wrote:
Hello,
I've got libjpeg-devel installed, but doing a
python setup.py build
with a Python 2.6.6 install that I made myself, against Imaging 1.1.7,
results in no JPEG support. The same process works just fine
2010/8/2 Dhruv Majumdar dh...@nettrackers.net:
Im new to Python and have been struggling with this error during tests:
IOError: encoder zip not available
I have python 2.7 with zlib, jpeg and freetype installed on the server. When
building PIL it shows support for all three above. However i
2010/8/1 Jerome Leclanche adys...@gmail.com:
Although the PIL and Image* packages themselves do not
respect python standards (should be from imaging import .., or
something alike).
If you had been paying attention, you'd noticed that python
standards change all the time, depend on what the
2010/7/31 Daniel Fetchinson fetchin...@googlemail.com:
I have been wanting to tackle this for sometime, and finally got around to
it tonight. I've created a friendly fork of PIL called Pillow:
http://pypi.python.org/pypi/Pillow/1.0
Some background: I've been doing Plone development for the
2010/7/14 Steve McFarlin smcfar...@ocsnet.net:
I can not seem to figure out why I am getting the cannot identify image file
error. The image in question is a PNG. This PNG file can be loaded by PIL on
another system. The PIL tests passed when installing. Is there something I
there a common
2010/7/6 Chris Mitchell chris.m...@gmail.com:
I'm running into a problem where my image intensities are being loaded
as 16 bit signed integers. The code I'm using to open the tiff file
is:
im = Image.open(file)
self.pixels = np.array([im.getdata()], np.uint16)
the filetype is a 16bit
2010/8/1 Christopher Barker chris.bar...@noaa.gov:
I'd be a bit happier if import Image raised a deprecation warning, but I'm
not sure how you'd do that. (I actually did help do that for the GDAL
package, but that was set up differently - they actually had all their stuff
dumped directly into
2010/6/5 Simon Mosk-Aoyama simon...@gmail.com:
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
I'm not aware of any ports. In fact, I'm not aware of any current
ports of Python itself to that platform (there are some older
projects, but they seem pretty stale).
In general, PIL works everywhere you have Python and a working C
compiler / C runtime environment (even if building it might take
2010/6/17 Reymer Antonio Vargas Solano r...@fisica.ucr.ac.cr:
Hello
I trying to use the McIdasImagePlugin.py, We have a lot of old McIdas area
files on some disc, and we are trying to get information about the files. so
I'm trying to write an script get information about the files, for e.g
exactly the mode or size you're asking for, and it also doesn't work
for all formats)
/F
2010/5/30 Yury V. Zaytsev y...@shurup.com:
Hi!
On Sun, 2010-05-30 at 14:59 +0200, Fredrik Lundh wrote:
The file has mode=RGB size=20400x28079, so you'd need about 2291246400
bytes to load it all
Looks like the Hair Designer is actually using PIL, but Edward's
advice still stands, I think. If the vendor cannot help you (they
should), there's another thread in this forum right now about PIL
binaries for Mac, complete with links to downloads (look for PIL
binaries -- please test). Make
Looks like they just replaced 8a with 8b. I've built and tested PIL
with the 8b release, and all my JPEG tests seem to work just fine, so
it should be safe to use.
/F
On Thu, May 13, 2010 at 7:07 PM, Fredrik Lundh fred...@pythonware.com wrote:
I haven't tested it specifically, but from a quick
Available from the usual place:
http://effbot.org/downloads/#pil
/F
___
Image-SIG maillist - Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig
I haven't tested it specifically, but from a quick look at the release
notes, they don't seem to have changed any API:s, so it should work.
In case you need the original, a copy of it seems to be available from here:
http://code.google.com/p/quirkysoft/downloads/detail?name=jpegsrc.v6b.tar.gz
On Sat, May 8, 2010 at 5:58 AM, Son Hua song...@gmail.com wrote:
Hi,
Can anybody show me some hints on how to implement an image warping function
efficiently in Python or PIL? Suppose we have a function f(x, y) - (x', y')
that warps a pixel location (x, y) to (x', y'). Because (x', y') may
What binaries are we talking about? I'm pretty sure the effbot.org
binaries have _imagingft in them, at least:
$ unzip -v PIL-1.1.7.win32-py2.6.exe
...
324608 Defl:N 170249 48% 11-02-09 13:42 5462e136
PLATLIB/PIL/_imaging.pyd
101376 Defl:N51319 49% 11-02-09 13:42 cdd53308
I've added the documentation from the original patch to this page:
http://effbot.org/tag/pil.Image.Image.transform
The next text is attached below.
/F
im.transform(size, PERSPECTIVE, data)
im.transform(size, PERSPECTIVE, data, filter)
Applies a perspective transform to the image, and
A patch for this can be found here:
http://hg.effbot.org/pil-2009-raclette/changeset/fb7ce579f5f9
/F
On Fri, Dec 11, 2009 at 12:55 AM, Fredrik Lundh fred...@pythonware.com wrote:
Good catch. The breakage is caused by a 1.1.7 fix that treats
single-band images as a special case
obscure TIFF flavours), but at
least the version I have doesn't handle 16-bit images well either. I
need to think a bit more about this, I think...
/F
On Thu, Apr 22, 2010 at 10:57 PM, Fredrik Lundh fred...@pythonware.com wrote:
Oh, missed that there was one in your first post. I'm a bit busy
at 1:07 PM, Fredrik Lundh fred...@pythonware.com wrote:
This isn't really a full solution, but the following patch at least
allows PIL to read 3x16-bit RGB TIFF files, converting them on the fly
to 24-bit RGB. Note that it requires new binaries to handle little
endian (intel) files:
http
On Mon, Mar 1, 2010 at 10:49 PM, Stani spe.stani...@gmail.com wrote:
Strange indeed. The same is true for UnsharpMask:
More silly than strange, I'd say -- looks like a
cut-and-paste-propagated typo that weren't caught by the (rather
shallow) filter tests. Trivial patch here:
*
Am I missing a value to pass into convert() to tell it to make an 8bit
file?
Thanks,
On 25 April 2010 13:48, Fredrik Lundh fred...@pythonware.com wrote:
Oops, that patch was broken, due to pilot error. Here's an incremental
fix:
http://hg.effbot.org/pil-2009-raclette/changeset
Just guessing, but have you installed Xcode?
/F
On Tue, Apr 20, 2010 at 6:55 AM, mark greeley greeley...@yahoo.com wrote:
hi, im trying to get PIL on my mac. i have osx10.4, python 2.6.5, and PIL
1.1.7
I get the error
gcc-4.0 -arch ppc -arch i386 -fno-strict-aliasing -fno-common -dynamic
On Tue, Apr 13, 2010 at 10:52 AM, Dan Blacker
dan.blac...@googlemail.com wrote:
Hey guys,
Thanks for your input,
The image is only of a tiny cropped area of a long strip of color kodachrome
film - I will send a better example with some more color in it when I get a
chance.
I was under the
Oh, missed that there was one in your first post. I'm a bit busy
right now, but I'll take a look when I find some spare time.
/F
On Thu, Apr 22, 2010 at 10:56 PM, Fredrik Lundh fred...@pythonware.com wrote:
On Tue, Apr 13, 2010 at 10:52 AM, Dan Blacker
dan.blac...@googlemail.com wrote:
Hey
2010/4/18 Łukasz Langa luk...@langa.pl:
This is not a proper reply in terms of e-mail but I registered just a second
ago just to write this post. So, here goes, replying to Frederik's message
from Thu Apr 08 15:01:06 2010:
Are you using some virtual env thing that might move modules around,
The idea is that add_item should only be called once for each mode
(see ImagingAccessInit). What did you do to trick Python into calling
the module initializer multiple times?
/F
On Mon, Apr 5, 2010 at 4:41 AM, Bill Janssen jans...@parc.com wrote:
Seems to me that in libImaging,
What's a .sig format signature? If you want to embed a JPEG image
in a mail, you need to read up on the MIME mail format and Python's
email package (http://docs.python.org/library/email). Traditional
sigs are usually plain text, though, so maybe you meant something
else?
/F
On Thu, Apr 8, 2010
mentioning that this happened after he'd
used easy_install, but that it went away after rebuilding with
setup.py. How did you build your copy?
/F
On Thu, Apr 8, 2010 at 8:17 PM, Bill Janssen jans...@parc.com wrote:
Fredrik Lundh fred...@pythonware.com wrote:
The idea is that add_item should only
Are you using some virtual env thing that might move modules around,
btw? I tried messing with the path to see if I could trick Python
into importing the same thing twice on Windows, but failed under 2.6.
/F
On Thu, Apr 8, 2010 at 9:06 PM, Fredrik Lundh fred...@pythonware.com wrote:
The error
I'm afraid ImageGrab isn't available for Mac OS X; it's Windows only in 1.1.7.
(Contributions from mac hackers are welcome!)
/F
On Thu, Apr 1, 2010 at 1:17 AM, Scott Hastings hasti...@indiana.edu wrote:
Hi,
I'm having a difficult time using the python imaging library on my mac.
Being
I have a rough 3.X port sitting in a local repo, waiting for some
spare cycles to do a bit of merging to get it up to par with the 1.1.7
release. Once that's done, I'll post the repo somewhere so more
people can hammer on it. Stay tuned.
/F
On Tue, Mar 23, 2010 at 5:42 AM, Clement Chan
Haven't checked the DSC spec in ages, but given your observation, it'd
probably make sense to skip all non-DSC comments no matter what the
spec actually says. Can you provide a patch (or a sample file)?
/F
On Sat, Mar 20, 2010 at 11:13 PM, Bill Janssen jans...@parc.com wrote:
I think I need a
On Sat, Mar 20, 2010 at 9:10 PM, clive sinclair
cl...@evclose.freeserve.co.uk wrote:
I am running Python 2.6 and have just installed PIL 1.1.7 running on Win
2000.
When I try to get a font object eg by
font = ImageFont.truetype(C:\WINNT\Fonts\arial.ttf, 15)
I get an exception
File
The Tkinter toolkit comes with a canvas widget that's probably a
better choice for the drawing parts of your application. Tkinter
itself is a bit outside the scope for this mailing list; you'll
probably have more luck on the tkinter-discuss list:
On Sun, Mar 14, 2010 at 2:47 PM, Fredrik Lundh fred...@pythonware.com wrote:
32-bit or 64-bit Windows 7 (and Python)? The PythonWare builds are all
32-bit.
At this time, at least -- I'm looking into ways to get 64-bit builds
into the normal workflow. In the meantime, contributions
Is this a prebuilt version or something you built yourself? It might
be that the selftest picks a different PYD file than your stand-alone
script. Adding print Image.core to your test script will tell you
what version the script is picking up; compare that to the loaded
from lines in the test
On Fri, Mar 5, 2010 at 11:23 AM, Oliver Tonnhofer o...@bogosoft.com wrote:
On 04.03.2010, at 14:31, Oliver Tonnhofer wrote:
Any opinions or suggestions on that? I would do a fork on bitbucket then
and start hacking.
Ok, I just started :)
I added compress_level and compress_type as save
Some issues related to this were fixed in 1.1.7, but there are
apparently a few more things that can go wrong. Some of this is
caused by semi-weird font metrics in some truetype files; the internal
API relies on being able to determine a pixel-level bounding box
before rendering, and it's likely
Sounds like a bug. What does the getextrema() method return for the same image?
/F
On Wed, Feb 17, 2010 at 6:57 AM, Laura Edward Cannon
cannon...@gmail.com wrote:
while using PIL 1.16 recently, I noticed that ImageStat seems to do a
silent convert to mode L when given a mode F image. Looping
sorry for the delays in mail handling; I've been on the road more or
less constantly since late november, and more mails than usual have
ended up in the moderation queues lately (most of it is indeed spam,
but not everything...).
/F
___
Image-SIG
(and of course that mail got caught by the filter as well. argh!)
On Thu, Feb 11, 2010 at 9:06 PM, Fredrik Lundh fred...@pythonware.com wrote:
sorry for the delays in mail handling; I've been on the road more or
less constantly since late november, and more mails than usual have
ended up
On Thu, Feb 11, 2010 at 10:51 PM, Mathews, Leah Nicole
mathe...@indiana.edu wrote:
Hello,
We are currently using Python Imaging Library 1.1.6 and evaluating
for use with snow leopard. Is it compatible and
what is the version that is compatible?
I'm not aware of any known incompatibilities
2010/1/26 Веселин m...@vpetkov.com:
I want to display captured frames from a webcam. I am using
video4linux2, v4l2 bindings for python and ctypes.
I am also using Tk. In the main loop of my v4l2 app, after Q_BUF,
STREAM_ON, DQ_BUF I call method that looks something like that:
window =
Yeah, 1.1.7 is official; it's just me having accidentally skipped a
couple of steps in the release procedure. Will fix asap. Sorry for
the confusion.
/F
On Wed, Dec 9, 2009 at 5:43 AM, Steven Watanabe
steven.watan...@autodesk.com wrote:
I see that PIL 1.1.7 final has been released:
Good catch. The breakage is caused by a 1.1.7 fix that treats
single-band images as a special case; unfortunately, the fix checks
that attribute before actually loading the image... I'll provide a
patch later, but you can of course work around it by adding an
explicit load to your code.
Thanks
Hmm. PIL doesn't officially support optimize for GIF files:
http://effbot.org/imagingbook/format-gif.htm
so maybe this is some partially implemented feature that's been hiding
in there for ages. I'm not sure GIF is such a great format for
thumbnails anyway; maybe the toolkit should be
Which versions of PIL and Ubuntu? (I'm pretty sure I built this
successfully on 9.10.)
/F
On Thu, Nov 26, 2009 at 3:57 PM, Michael P. Soulier
msoul...@digitaltorque.ca wrote:
Hi,
I'm on an Ubuntu system and I had to add this to setup.py to get PIL to
build with the Tk extension.
Here's a DirectShow interface that might work with your card:
http://videocapture.sourceforge.net/
/F
On Sun, Nov 22, 2009 at 7:34 PM, Wayne Watson
sierra_mtnv...@sbcglobal.net wrote:
I would like to read a capture card (Subject) that is connected to a b/w
camera and produces 640x480
Generate a HTML file with IMG tags? Any HTML tutorial should teach
you how to do that, and you don't really need more than the print
statement to generate the file in Python.
I'm pretty sure flickr can provide you with URL:s for the thumbnail
versions they've already created (you're using their
There's a brief note here:
http://effbot.org/zone/pil-extending.htm
You can simplify the dependencies by simply copying the Imaging
definition to your own code -- the im.id attribute used in that
article is guaranteed to give you a pointer to that structure (that
is, if the structure ever
announcement will follow later this week.
Enjoy! /F
On Mon, Nov 2, 2009 at 9:58 PM, Fredrik Lundh fred...@pythonware.com wrote:
Ok, this thing has been sitting in the repo for way too long; let's
get it out there before I come up with more things to tweak tune.
PIL 1.1.7 release candidate for Python
On Fri, Nov 13, 2009 at 2:56 PM, Pratap Zapada pratap.zap...@c-sam.com wrote:
Let us consider that we have two images say Image1 Image2.
Can you please, Guide me to write code in Pythone to verify that Image1 is
sub-set of Image2 or not.
How do you define subset?
/F
The release candidate is only built for 2.5 and 2.6. I'll build more
versions when I cut the final release (sunday, unless something weird
happens).
(the library supports 1.5.2 through 2.6, with support for 3.x coming
up later; not sure I'll provide binaries for all the old versions,
though :)
Your Python installation includes Tkinter but your Tcl/Tk installation
is incomplete; you either have to install the relevant Tcl/Tk
development packages, or tweak setup.py to disable Tkinter support.
/F
On Wed, Nov 11, 2009 at 1:32 PM, Irena Efremenko
irena.efreme...@weizmann.ac.il wrote:
Hi,
Thanks for the detailed analysis. The fix in 1.1.7 is slightly
different from the one you propose:
http://hg.effbot.org/pil-2009-raclette/changeset/fe4688f15fed/
Not sure why the code considers it important to close the file at that
point; I'll take another look at a look at the code and
Ok, this thing has been sitting in the repo for way too long; let's
get it out there before I come up with more things to tweak tune.
PIL 1.1.7 release candidate for Python 2.X is now available. This
release contains tons of bug fixes, and numerous new features,
including color management
, 2009 at 4:07 PM, Fredrik Lundh fred...@pythonware.com wrote:
Ah, sneaky. I'm pretty sure the current binary distribution was built
when 2.6 was new, and I didn't really expect them to tweak
build-related issues in an incremental release :)
I'll push out a new build asap; will ping the list
On Tue, Sep 1, 2009 at 4:44 AM, Etienne Desautels t...@sympatico.ca wrote:
So after experimenting, I see 3 problems:
1. Resize with ANTIALIAS from a large JPEG to a small thumbnail give poor
image quality.
This should work fine in 1.1.6; no time to look at your tests right
now, but I'll do
The quality setting is used to create a quantization table which is
then used by the compression algorithm. There's no pre-defined
mapping between quality and the contents of the quantization table for
JPEG (different implementations do different things), but some
applications attempt to guess by
Make sense, but I'm not sure I can figure out what they actually ended
up doing about it from that thread. Anyone who can summarize and/or
provide a patch?
/F
On Thu, Sep 10, 2009 at 8:00 PM, Farshid Lashkari fla...@gmail.com wrote:
Hello,
I've encountered an issue with distributing a Python
It tries to tell you that PIL's _imaging.so module was built without
JPEG support, which means that the setup.py script couldn't find or
set up the libjpeg library.
If setup claims that it did find libjpeg, make sure you don't have
multiple _imaging.so modules around (the selftest in 1.1.6 can
Ah, sneaky. I'm pretty sure the current binary distribution was built
when 2.6 was new, and I didn't really expect them to tweak
build-related issues in an incremental release :)
I'll push out a new build asap; will ping the list when it's available.
Thanks!
/F
On Mon, Sep 28, 2009 at 3:46
On Mon, Sep 28, 2009 at 5:01 PM, Etienne Desautels t...@sympatico.ca wrote:
3. Converting from TIFF CMYK to RGB shift the colors dramatically.
This is a bug in 1.1.6 and earlier (well, strictly speaking, it's a
old bug in Photoshop, but I guess we're not really in a position to
make them
On Mon, Sep 21, 2009 at 4:43 AM, Jeff Mathews je...@fifengr.com wrote:
Using PIL 1.1.6 and the code...
image = Image.open(filename)
This works well, until the 255th time. All subsequent calls fail with
IOError. Is this a bug in PIL? I am trying to load several hundred images
and best fit
On Mon, Aug 3, 2009 at 3:32 AM, Astan Cheeastan.c...@al.com.au wrote:
I have a script that takes an image and makes it looks like it bounces.
Here it is:
But it keeps failing with a ValueError: images do not match when I do the
pasting. What am I doing wrong?
You're passing in floating
On Mon, Jul 27, 2009 at 6:15 PM, Salvador
Gutierrezguti...@plattsburgh.edu wrote:
Hi,
1. I have python2.5 in my system but it was not built from source, so
Python.h does not exist and the compile fails.
2. I have python3.1 also in my system (this one was built from source), so
Python.h
2009/7/14 Andrea Cappelli a.cappe...@asidev.com:
I'm a beginner with Python and I'm using PIL to convert a lot of images
from RGB colorspace to CMYK in order to insert them in a catalogue to be
printed by a typography
i use the following piece of code
handle =
On Wed, Jul 8, 2009 at 4:29 PM, Tejovathi Ptejovath...@gmail.com wrote:
Hi All,
I am pretty new to PIL.I am trying to create a font
using ImageFont.truetype, specifying the font path and size. But if I want
to specify the font be *bold*, how do I do that?
Any options other than creating a
On Thu, Jul 9, 2009 at 11:50 PM, Tom Baldwintbald...@uoregon.edu wrote:
A python-help volunteer suggested downgrading my Tcl/Tk installation from
8.5 to 8.4, which seems a little weird, since 8.5 has been stable since
December 2007.
1.1.6 was released in december 2006, and core Python didn't
On Mon, Jun 22, 2009 at 3:06 PM, Carl Pettersoncarl.petter...@tobii.com wrote:
Hi!
I’m using PIL to load .pgm images into an application. They are to be
displayed as QPixmaps in a Qt app, so I’m using the ImageQt class to convert
my PIL images to QImages, and later QPixmaps. However, for some
On Tue, Jun 16, 2009 at 2:17 AM, Alec Bennettwrybr...@gmail.com wrote:
I have some raw images shot from a Canon DSLR that I'd like to manipulate
using the PIL. I know I can convert them using another program, but if
possible I'd like to do so directly using PIL.
Is this possible with the PIL?
On Mon, Jun 15, 2009 at 11:06 PM, Scott David
Danielsscott.dani...@acm.org wrote:
roop wrote:
I was browsing ImageEnhace.py, and found something that I thought was
odd in class Contrast:
class Contrast(_Enhance):
Adjust image contrast
def __init__(self, image):
self.image =
On Sun, May 31, 2009 at 3:32 PM, Fredrik Lundhfred...@pythonware.com wrote:
But I think I'll have to leave this as is in 1.1.7 (which should go RC
later today or tomorrow)
Just FYI, the RC was pulled due to two last-second bug reports, and a
set of rather interesting patches that I wasn't
On Wed, Jun 3, 2009 at 6:04 PM, Gordon Allott m...@gordallott.com wrote:
Hi,
It appears there is no place to report bugs regarding PIL or even
contact the developers so it seems that here is the best place to report
this kind of thing.
There is a bug when you stream png files into
On Tue, Jun 2, 2009 at 9:13 PM, Geert Dekkers ge...@nznl.com wrote:
(I just resent this message as I couldn't it find it on the digest even
after days - again, I apologise for any cross-posting)
It's in the image-sig archive, at least:
1 - 100 of 408 matches
Mail list logo