Hello,
In working with pluck-comics in Plucker 1.1.13, I've found a couple of ways to enhance 
image processing that is especially effective for large, detailed  images that need 
downsizing to fit in the 64k Palm tbmp limit.  It also uses some options to sharpen 
fine lines/text in plucked images.

Both these changes require ImageMagick's "convert" executable to be installed.  They 
have only been used/tested on Windows, but the changes could probably carry over to 
any platform that has ImageMagick installed and that supports the Python Plucker tools.

http://www.geocities.com/rmg2768/Plucker113ImagePatch1.zip

(Note - if you unzip this in your Plucker directory, it will overwrite Plucker.ini and 
PyPlucker\ImageParser.py.  Make backups first...)

Summary of changes:
--------------------------
- Uses the ImageMagick "convert.exe" program to do any necessary image scaling during 
the plucker build process, which seems to do a much better job (using subpixel 
resampling or interpolation, maybe?) than the Bmp2Tbmp.exe program normally used by 
the default Python image class.

-Adds "bmp_resize_program" and "bmp_resize_program_parameters" to allow
   specification of the resizing application in Plucker.ini

-It fixes a bug that prohibited try_reduce_dimension from working if 
 try_reduce_bpp was turned off

-When try_reduce_dimension is set in plucker.ini, reduces dimensions by 5% instead of 
10%, in order to get a downsized BMP closer to the 64k (60k safe) Palm limit when 
converted to a Tbmp

- Uses options to "convert" to sharpen and darken the image when converted 
from its initial format to BMP

----------------

I've only tested this on comic strips so far, but the enhancements should make any 
text or detailed lines more clear on large/resized images.

Comments welcome.

-Rob Grace
[EMAIL PROTECTED]

Reply via email to