I think this currently does *not* work. The imgagesize option is not
handled in fetch.py.
fixed in hg repo: http://code.pediapress.com/hg/mwlib/rev/e330a52ebe40
sorry for the noise.
This is currently only possible by changing the source code of mwlib/
serve.py. You have to add the --imagesize option to the array of
options passed to mw-render and mw-zip. This, for example, is the
change needed for the call to mw-render:
diff -r e330a52ebe40 mwlib/serve.py
--- a/mwlib/serve.py Wed Jun 03 14:04:48 2009 +0200
+++ b/mwlib/serve.py Wed Jun 03 16:11:41 2009 +0200
@@ -293,6 +293,7 @@
'--writer', writer,
'--output', output_path,
'--pid-file', pid_path,
+ '--imagesize', '1600',
]
zip_path = self.get_path(collection_id, self.zip_filename)
-- Johannes
it is not possible to set/change the compression rate for images. The
"original" images are currently embedded in the PDF and not altered in
any way.
Regards,
Volker
deepc wrote:
> After i made an update to mwlib.rl 0.10.3 i was able to see a
> difference.
> Is there a parameter to set compression rate?
>
> Thx Felix
>
>
--
volker haas brainbot technologies ag
fon +49 6131 2116394 boppstraße 64
fax +49 6131 2116392 55118 mainz