Re: [PythonReports-users] Images
Brought to you by:
a1s
|
From: Werner F. B. <wer...@fr...> - 2013-02-11 09:35:39
|
Hi Alex,
line 213 in wxPrint.drawImage needs to change to:
_data = prp.Data.get_data(_data)
line 92 in wxPrint.__init__:
self.imgdata = dict([(_element.get("name"),
prp.Data.get_data(_element))
and line 2363 in Builder.build_printout
prp.Data.make_element(_root, data=_image.getdata(),
I.e. in all change "Data" to "prp.Data"
If you prefer I can create you a patch later today.
At this point the image shows and the editor opens with out problems.
Thanks a lot for this, and PythonReports in general.
Werner
|