Hi all,
I just wanted to add to this conversation: Being able to put in an image
size is a good feature.

I am interested in the book-extension/mwlib from a low
bandwidth accessibility point of view. So of course being able to download a
pdf/odt etc in the first place is a good thing, and it makes mediawiki
content much more accessible.

But it would also be nice if you could generate "optimised pdf": being able
to use screen resolution images (or lower) would be a good step towards
this. In fact, a option to exclude images would be good too: Images consume
a lot of ink, which in poorer areas is a concern!

Of course it's not easy (as the thread explains), but perhaps it can be put
in as a feature request somewhere?

All the best,
Bjoern


On Wed, Jun 3, 2009 at 3:13 PM, 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to