PIL and line drawing

rzed jello at comics.com
Tue May 24 15:57:33 EDT 2005


"Fredrik Lundh" <fredrik at pythonware.com> wrote in
news:mailman.65.1116954531.18027.python-list at python.org: 

> "rzed" <jello at comics.com> wrote:
> 
>> > if you have 1.1.5, you can use the width option to control
>> > the line width. see:
>>
>> I'm glad to see that addition. I was surprised to see that
>> 'width' is actually doubled in the resulting line, though. I
>> suppose the code adds and subtracts the specified width from
>> the specified coordinate point(?).
> 
> hmm.  that sure sounds a lot like a bug I though I had fixed.
> 
Ah, I see that I was using   VERSION = "1.1.5b1" which I have now
upgraded to 1.1.5. Retesting ... nope, same thing. Specifying a
width of 10, I get a line of width 20. ImageDraw shows: 

# $Id: ImageDraw.py 2134 2004-10-06 08:55:20Z fredrik $

-- 
rzed



More information about the Python-list mailing list