Image JPG in output PDF show in diferent size

23 views
Skip to first unread message

Ignacio Gutierrez

unread,
Jun 30, 2011, 5:58:44 PM6/30/11
to mw...@googlegroups.com
Hi:

I have installed mediawiki in my host server www.saitenlinea.com/wiki

I configure Collection Extension to use pediapress server.

When I generate this page in PDF:
images jpg, shows in diferent size, some images get larger than original

but the larger image (700 x 900) in section:
it shows very little

How does the Collection Extension handles image jpg sizes ?



Volker Haas

unread,
Jul 1, 2011, 3:19:58 AM7/1/11
to mw...@googlegroups.com
Hi,
all images you are using in the article mentioned below are stretched to
full width while not exceeding a certain height. This is the problem for
the image in the "Resumen de Facturas" section: the image has a large
height - therefore it is displayed rather small. If you crop the
whitespace the image will be displayed larger.

For more examples of images and the resulting PDF check [1]

Unfortunately I screwed around on the public render server and broke
caching of the PDF for the article in question. Could you please make a
minor edit, render the article, revert the change and then render again.
Sorry for the inconvenience ;)

Regards,
Volker


[1] http://simple.pediapress.com/wiki/MarkupReference/Images

> --
> You received this message because you are subscribed to the Google
> Groups "mwlib" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/mwlib/-/5veOSoHJqVMJ.
> To post to this group, send email to mw...@googlegroups.com.
> To unsubscribe from this group, send email to
> mwlib+un...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/mwlib?hl=en.

--
volker haas brainbot technologies ag
fon +49 6131 2116394 boppstra�e 64
fax +49 6131 2116392 55118 mainz
volke...@brainbot.com http://www.brainbot.com/

Ignacio Gutierrez

unread,
Jul 1, 2011, 11:47:49 AM7/1/11
to mw...@googlegroups.com
Hi Volker:

Thanks for your quick answer.

I have another question:
  1. What would be the maximum height for an image, if I don't want the system resize it ?
Thank you

Ignacio Gutierrez


Volker Haas

unread,
Jul 4, 2011, 6:49:20 AM7/4/11
to mw...@googlegroups.com

On 07/01/2011 05:47 PM, Ignacio Gutierrez wrote:
> Hi Volker:
>
> Thanks for your quick answer.
>
> I have another question:
>

> 1. What would be the maximum height for an image, if I don't want


> the system resize it ?
>

Maximum sizes for images can expressed in terms of fractions of the page
dimensions. Currently the defaults (set in pdfstyles.py, override in
custom_config.py) are:

img_max_thumb_width = 0.6 # fraction of print width for floated images
img_max_thumb_height = 0.45

Regards,
Volker

Reply all
Reply to author
Forward
0 new messages