On Sep 1, 1:23 pm, Terry Brown <[email protected]> wrote:
> Gah :-) rev 11 finally gets guaranteed no rescaling of screenshot pixels if
> PIL is available. Inkscape allocates large bounding boxes for elements with
> drop shadows, which may have non-integer boundaries, leading to potential
> blurring of screenshot pixels. This is fixed now (an existing inkscape flag)
> and PIL is used to trim the transparent boundaries these oversized bboxes may
> introduce if balloons are near the edge.
I pushed rev 12. It warns if PIL is not available.
I am getting this traceback when I close inkscape:
c:\leo.repo\inkcall>ink
c:\leo.repo\inkcall>cd c:\leo.repo\inkcall
c:\leo.repo\inkcall>python26 inkcall.py --inkscape "c:\Program Files
(x86)\Inkscape\inkscape.exe"
c:\leo.repo\inkcall>c:\python26\python.exe inkcall.py --inkscape "c:
\Program Files (x86)\Inkscape\inkscape.exe"
Traceback (most recent call last):
File "inkcall.py", line 538, in <module>
main()
File "inkcall.py", line 189, in main
inkcall.make_png(filename)
File "inkcall.py", line 450, in make_png
img = Image.open(outfilename)
File "c:\python26\lib\site-packages\PIL\Image.py", line 1952, in
open
fp = __builtin__.open(fp, "rb")
IOError: [Errno 2] No such file or directory:
'some_screen_shot.co.png'
Edward
c:\leo.repo\inkcall>
>
> Cheers -Terry
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en.