[PythonReports-checkins] PythonReports/PythonReports PILDrivers.py, 1.1, 1.2
Brought to you by:
a1s
From: alexander s. <a1...@us...> - 2006-11-01 17:38:37
|
Update of /cvsroot/pythonreports/PythonReports/PythonReports In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20436 Modified Files: PILDrivers.py Log Message: driver classes have backend name property Index: PILDrivers.py =================================================================== RCS file: /cvsroot/pythonreports/PythonReports/PythonReports/PILDrivers.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** PILDrivers.py 1 Nov 2006 11:02:38 -0000 1.1 --- PILDrivers.py 1 Nov 2006 17:38:34 -0000 1.2 *************** *** 1,4 **** --- 1,6 ---- """Rendering utilities for Python Imaging Library (PIL) backend""" + """History (most recent first): + 01-nov-2006 [als] driver classes have backend name property 05-oct-2006 [als] use base classes for the rendering drivers 02-oct-2006 [als] ImageDriver: added .nullimage() *************** *** 25,28 **** --- 27,42 ---- class ImageDriver(drivers.ImageDriver): + """Image processing driver + + Instances of this driver class are created for each + distinct image source, i.e. image file or data block. + + Instantiation must be done by one of the factory + methods .fromfile() and .fromdata(). + + """ + + backend = "PIL" + _image = None # PIL image object (not for external access) *************** *** 144,147 **** --- 158,163 ---- """ + backend = "PIL" + # PIL does not report the leading. # 1/5 of character size is default line gap used by ReportLab. |