-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm not sure when this behavior changed, but now it's a bit
cumbersome to use with current plucker-built documents.
When I'm plucking a site, and the site has a logo at the top, for
example the Cincinnati Spine institute[1], the logo is larger than the
160-scrollbar width on the Palm. The distiller (formerly parser) used to
treat this differently, and scale the image so that it would fit on the
screen, even when I didn't specify any maxwidth/height arguments.
Now when this site is parsed, the image is kept full-size, and only
shows the left side of it. Anything after 160-scrollbar pixels from the
left, is just truncated off the right side of the screen (image is attached
to this message, apologies for using .gif, it was the smallest one out of
png/jpg/gif).
No combination of --maxwidth/alt-maxwidth will change this value,
and the image remains full-width + truncation.
Did I miss something? I've turned on auto_scale_images in
~/.pluckerrc, but that seems to be ignored when using netpbm2, or at least
in this instance.
It also happens with imagemagick2 specified as the parser (which
still can't handle anything over 4bpp, even in the latest cvs). The image is
never scaled. It also barfed on an interesting section:
Error: Unknown error parsing document
http://www.cincinnatispine.com/html/newsletter/img/images/ArthroAid-Banner2_01.gif:
Traceback (most recent call last):
File "/usr/lib/python2.1/site-packages/PyPlucker/Parser.py", line 45, in
generic_parser
return parsed.get_plucker_doc ()
File "/usr/lib/python2.1/site-packages/PyPlucker/ImageParser.py", line
183, in get_plucker_doc
newbits = self.convert(width, height, depth, section)
File "/usr/lib/python2.1/site-packages/PyPlucker/ImageParser.py", line
501, in convert
f = open(self._tmpfile, 'r'+binary_flag)
IOError: [Errno 2] No such file or directory: '[EMAIL PROTECTED]'
In any case, being able to get those scaled images back so that
logos/images/etc. aren't truncated would be a good thing. I'm not
well-versed in the image parsing magic yet, so I can't be of help other than
to report it.
d.
[1] http://www.cincinnatispine.com/html/newsletter/PDA%20Newsletter.htm
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9GcaKkRQERnB1rkoRAsWqAJ9DTfXGBDqaatm5vDS+YnVbaJZnbQCgsl8x
xhOcoIHhEMLJUH4ppCC5gP8=
=WeO3
-----END PGP SIGNATURE-----