At 07:31 PM 9/1/2001 +0200, you wrote:
>Maybe you could also try:
>
>convert_program_parameter= -geometry <%maxwidth%x%maxheight% -sharpen 10x10 %input% 
>bmp:%output%

That's what I tried before, but it didn't work.  (I'm assuming the '<' is a typo, but 
I tried it also anyway w/ same results).  The debug output showed that the Python 
routines evaluated "%maxwidth%x%maxheight%" to be "0x0", and I looked at the code in 
ImageParser.py - it looks like internal variables used for the maxwidth and maxheight 
substitutions are defined only _after_ running the convert program, taken from the 
resulting image size which comes from the image header of the output of convert.exe 
(which seems to run only once).  Then, the image is then scaled appropriately using 
bmp2tbmp (which runs in two passes, for either preview or "alt"/full size using two 
different substitutions for "maxwidth" and "maxheight").  Am I reading the code 
correctly?

Thanks for the tip about using DB-folder-specific INI files - that's a good workaround 
solution that I can use to set scaling for the individual comic files.

Thanks
Rob



Reply via email to