[Image-SIG] documentation error and feature request

Andrew Harrington aharrin at luc.edu
Fri Jan 20 17:49:12 CET 2006


A documentation error and suggestion for pildriver:

The online pildriver documentation
http://www.pythonware.com/library/pil/handbook/pildriver.htm
omits the float parameter in the sharpness method description, and I 
would guess there are similar issues in lighten and others.

A feature request:
Currently you can resize to specific dimensions in pildriver.  I 
frequently want a half size picture, whatever the original size.   It 
would be good to be able to scale an image by a factor.  That could be 
done directly with a variation on resize or an operator on a size pair

scaleby <float:factor> <int:x> <int:y>
which produces the dimensions scaled by factor and rounded and converted 
back to int's

Thanks!  I love PIL.

-- 
  Andrew N. Harrington
  Computer Science Department      Undergraduate Program Director
  Loyola University Chicago        http://www.cs.luc.edu/~anh
  512B Lewis Towers (office)       Office Phone: 312-915-7982
  Snail mail to Lewis Towers 416   Dept. Fax:    312-915-7998
  820 North Michigan Avenue        aharrin at luc.edu
  Chicago, Illinois 60611          



More information about the Image-SIG mailing list