On 13.07.01, 07:24:30, David A. Desrosiers wrote:
Hi,
First, thanks a lot for the quick reply.
>
> I have a Visor Deluxe, and although the battery life on the Visor is
> atroscious, it definately displays 2bpp greyscale properly. The "stretched"
Do you mean it lasts long or it doesn't? I think that alkaline
batteries last rather long in my visor, but then, I have nothing to
compare it to.
> image is a hint that you're probably using a --max{width|height} value
> somewhere or an --alt{maxwidth|maxheight} value. I've never seen images
> stretched on Plucker at all, unless I screwed up those two values.
I don't use any option like that at all. And if I choose 1bpp images,
all is fine.
>
> As you probably figured out, PalmOS versions before 3.0 only
> supported monochrome in APIs. Palm OS versions 3.0 through 3.3 somewhat
> supported 2 bit gray. Palm OS 3.5 and above supports up to 8 bit for devices
> that support it. Your Visor is running 3.1H, modified a bit for Handspring's
> hardware.
Version info says "System PalmOS 3.1H2". I thought the "H" was for
"modified by Handspring", but I might be wrong.
>
> That being said, let's go through a quick debug:
>
> 1. Are you running any hacks on your Visor? Any SysTrap() calls?
None that I know of. I have the Battery Preferences Panel, but its
docs say it is a proper application, and not a hack. The next closest
thing to a hack is a timer program that keeps running when other
applications are used or the visor is turned off. It's called
ToastTimer.
Remember that I'm a PalmOS newbie, and might not be aware of anything
conflicting with proper operation of other programs.
It might be of interest that I have both a German PalmOS and use the
German-language version of the plucker PalmOS viewer. (Oh btw, there
are some spelling errors, the most prominent being that "standard" is
spelled with a trailing "d" in German, too, and not with "t". (Just
like, to be picky, "definitely" is spelled without any "a" in
English. ;-) Many confuse that, but look it up ...)
>
> 2. What version of Plucker?
1.1.5
>
> What version of the parser?
Parser.py $Id: Parser.py,v 1.13 2001/02/04 15:50:23 nordstrom Exp $
>
> What version of Python?
1.5.2, installed via NetBSD pkgsrc
>
> What version of netpbm2/PIL/ImageMagick?
Netpbm 9.7, installed via NetBSD pkgsrc
ImageMagick 5.2.8, installed via NetBSD pkgsrc.
Both cause the same problem.
Plus hand-installed ppmtoTbmp.
>
> 3. What is the URL you're gathering, and what are the parameters
> you're passing to it to gather it?
Spider.py -P . -M 1 --bpp=2 -H http://www.netbsd.org/ -f NetBSD
>
> 4. What OS on your host computer? Windows? Solaris? OS/2? Linux?
NetBSD-1.5.1
>
> 5. What does your ~/.pluckerrc look like? Are you overriding
> parameters in ~/.pluckerrc by passing the parser arguments when
> you run it?
I will attach a gzip'd version of my ~/.pluckerrc, I'm not qualified
to sort out what might and might not be important for my problems.
>
> With those answers, we can better diagnose what might be going on.
Thanks for your efforts. Still, plucker already is a great tool for
me, and I hope we can make it _perfect_, soon :)
>
> > I am certain that my Visor can display 4 grayscales, the Handspring
> > "About" or "Info" windows display grayscales.
>
> This may help:
>
> http://www.palmos.com/dev/tech/hardware/compare.html
>
> > I have tried various combinations of netpbm and ImageMagick and the
> > --bpp option, but could not achieve a satisfying result.
>
> You mean netpbm2, right? You don't see 'ppmtoTbmp' trying to run
> anywhere, do you? Are your netpbm2 palm templates working? Are they in the
> right place to be found by netpbm2? For example (in .pluckerrc)
netpbm 9.7 plus hand-installed ppmtoTbmp. Without ppmtoTbmp I get lots
of errors during gathering, and don't see any images at all in
plucker. After installing ppmtoTbmp I get b/w images fine, but
incorrect rendering of greyscale images.
What exactly is "netpbm2"? Neither on google nor on freshmeat I can
find a single reference to it.
I have found a stand-alone copy of ppmtoTbmp (version 1.1) and
isntalled that and its q2.map and q4.map. I tried explicitly
specifying these two maps in ~/.pluckerrc, but that did not help
either.
I guess that plucker correctly finds all needed tools during
conversion, since I cannot see any errors related to file
conversion. Whereas previously, when ppmtoTbmp was missing, I could
see many such errors.
> [maxdepth clarified]
Maybe I'm confused here, I'll try to sort it out. But thanks for the
hints. It always gathers all images neccessary to display the page,
right? Maybe that's what was confusing me, seeing such an enourmous
increase in files fetched between levels 1 and 2. (from about 10 to
about 1000.)
>
> Hope that helps.
>
>
> /d
>
Cheers,
Bernd
--
Bernd Sieker