sl contrib wrote:
> Hi all,
[...]
> 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!
>
Excluding images can be done by using the option '--noimages' in the
same way as changing the size. Of course the problem is that this is a
"global" option valid for all pdfs.
Adding customization options to the interface is something will
implement sometime in the future. See
* http://code.pediapress.com/wiki/ticket/419
for details
> Of course it's not easy (as the thread explains), but perhaps it can
> be put in as a feature request somewhere?
Tickets about resizing images:
* http://code.pediapress.com/wiki/ticket/463
* http://code.pediapress.com/wiki/ticket/505
Regards,
Volker
>
> All the best,
> Bjoern
>
>
> On Wed, Jun 3, 2009 at 3:13 PM, Johannes Beigel
> <[email protected] <mailto:[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
>
>
>
>
>
> >
--
volker haas brainbot technologies ag
fon +49 6131 2116394 boppstraße 64
fax +49 6131 2116392 55118 mainz
[email protected] http://www.brainbot.com/
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---