Hi!
Attached a new Windows Image Parser. Simple extract the file
ImageParser.py from the Zip file and copy it in the PyPlucker
directory (overwrite the one already there).
The new one take care that no longer invalid bitmaps (>60000 bytes)
are included in the database, and there are also a few ini options to
control the way how really big images should be handled.
It's not fully tested for all cases yet (i still testing) but i wan't
know how this work for all others. And i wan't to know if this new
options are useful or if there are changes needed.
Attached also the description for the new ini keys, it would be nice
if someone check this for spelling errors please.
cu,
Dirk
--
Permanent URLs to the latest Version () 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.79MB]
;;
;; These keys control the way the images are converted to the palm Tbmp
;; format.
;;
;; The maximum size of an Tbmp bitmap could be 60000bytes (before Pluckers
;; database compression), you could set the max_tbmp_size key to an lower
;; value to save memory on your device.
;;
;; The tbmp_compression key control the internal Tbmp compression (not
;; related to Pluckers databse compression), if set to true the Tbmp are
;; smaller and you could use pictures that normally exceed the maximum size
;; (as set by max_tbmp_size). But this will not work on all OS versions,
;; if your OS do not support this the viewer will display a warning message
;; and do not show the pictures.
;;
;; If a bitmap excites the maximum size, and try_reduce_bpp are set to
;; true, the parser try to use reduce the bpp until the size are OK, if it
;; with bpp=1 still to big, the dimension of the pitmap will be reduced in
;; 10% stepps if the try_reduce_dimension key is set.
;;
;; How big a Tbmp will be after a bpp or dimensions reduce are calculated,
;; but this won't work if you use tbmp compression, to still get the
;; maximum quality (highes possible bpp and size) set the guess_tbmp_size
;; to false, in this case the bitmap will be converted in every step to get
;; the resulting size, this could be need some more time.
;;
;;max_tbmp_size = 60000
;;tbmp_compression = no
;;try_reduce_bpp = true
;;try_reduce_dimension = true
;;guess_tbmp_size = true
;;
ImageParser.zip