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 On 3 Jun., 16:13, Johannes Beigel <[email protected]> wrote: > On 03.06.2009, at 15:25, deepc wrote: > > > where exactly can i define --imagesize in mw-serve? > > 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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "mwlib" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/mwlib?hl=en -~----------~----~----~----~------~----~------~--~---
