PIL: Dashed lines & Patterned Fills - HOWTO???

Benny Shomer bshomer at yahoo.com
Wed Aug 6 19:53:49 CEST 2003


Hi,

After a lot of agony ;-) I'm converting some old and important code
to use PIL instead of gd.

All is well, but I couldn't figure out how to create either dahsed
lines, or a fill with pattern.  What I need is actually a substitute
to gd's (for example):
"gd.setStyle([grey50, gd.gdTransparent, gd.gdTransparent, 
gd.gdTransparent]"
and then running a line or filledRectangle  using "gd.gdStyled"


Any help will be greatly appreciated.
Also, kindly Cc: your answer to bshomer at yahoo.com

A Billion Thanks,

Benny.





More information about the Python-list mailing list