"David" == David Starks-Browning <[EMAIL PROTECTED]> writes:
David> The installation has a Tools\pluck-comics directory. Can I use
David> this in Windows? There is some information about comics in the
Sure, its a Python Script :-)
David> help file, but nothing that corresponds to the pluck-comics.py
David> script.
The Help file tell you a way to download comics (pictures) to your PC
and then run the parser to get a Plucker DB. But thats not related to
the pluck-comic script.
The plucker-comic script are also not related to the plucker parser,
but you can use it with the parser.
But it's not so simple to setup, you need some manual work. But if you
wan't to try it i try to give a short howto.
The script simply download the comics (pictures) from the web pages,
store the pictures on your HDD and create a simple html page that link
to the pictures.
So if you want to use it, open the pluck-comics.py in a text editor and
setup the default values. To do this replace @COMICS_DIR@ with the
directory were the comics should be stored. I suggest you create a new
DB using the "Add a new Database" shortcut. In this example i call
this new DB "comics". Then replace the @COMICS_DIR@ with the directory
of the new created Database, this will be somethink like:
C:\Program Files\Plucker\Comics.DB\
Next you Replace the @COMICSLIST_DIR@ with the place were the comic
list are stored, usually:
C:\Program Files\Plucker\Tools\pluck-comics\
Now the tool are ready to use, call:
<ONELONGLINE>
C:\Program Files\Plucker\Python\Python.exe C:\Program
Files\Plucker\Tools\pluck-comics\pluck-comics.py -h comics.com
</ONELONGLINE>
This should now download the comics and place it in the Comics.DB
subdirectory.
If this work as desired go to the channel ini (C:\Program
Files\Plucker\Comics.DB\plucker.ini) and enter there a before_command
key, for example:
<ONELONGLINE>
before_command=C:\Program Files\Plucker\Python\Python.exe C:\Program
Files\Plucker\Tools\pluck-comics\pluck-comics.py -h comics.com
</ONELONGLINE>
So, now if you wan't your comics, simple click the "Hotsync" shortcut
in the DB 'Comics' Shortcut Folder. This cause that the parser at
first execute the the script, the script download the comics and put
it on your hdd, if the plucker-comics finished the parser continue
and grab the downloaded comics from you HDD and build a plucker DB and
install it.
But since comics are usually big images i suggest you to download
version 1.1.11 (see my signature) because there are a better support
for large images.
NOTE: in 1.1.11 the is a little bug in the installer, after install
you need to edit the main ini file (<program files>\Plucker\plucker.ini).
Search the key bmp_to_tbmp_parameter and change it to:
bmp_to_tbmp_parameter=-i=%input% -o=%output% -maxwidth=%maxwidth%
-maxheight=%maxheight% -compress=%compress% -bpp=%colors%
(i try to upload a fixed package this evening)
with 1.1.11 you could also set this keys in the channel ini to get the
best results:
(But AFAIK you need PalmOS >=3.3 for use the tbmp compression)
tbmp_compression = yes
try_reduce_bpp = true
try_reduce_dimension = true
guess_tbmp_size = false
This cause that the parser start to reduce the colors if the image to
big (in bytes) and if it at bpp=1 still to big it resize the
dimensions. Because usually comics are hard to read if they are scaled
down IMHO thats the best option.
Hmm, my bad english and many text i hope you could follow this infos
:-) If you have problems with one of the point feel free to ask again.
David> The Windows installation uses the RunSync.exe command to run
David> everything, and I cannot imagine how to extend or modify that to run
FYI: it's also possible to call the parser direct by calling
plucker-build from the command line but in this case you do not need
this.
cu,
Dirk
--
Permanent URLs to the latest Version (1.1.11) of the Plucker Windows installer
- For the Webpage: http://www.dirk-heiser.de/plucker
- Direct Download: http://www.dirk-heiser.de/plucker/plucker.exe [2.94MB]