2017-04-15 16:13 GMT+03:00 Markus Neteler <[email protected]>:
>
>> Supposedly, the wxPython HTML renderer
>> does not apply "width=" correctly and does not
>> resize the image on the fly.

It is correct as it resizes the width not height of image. There is a
wrong assumption that setting width automatically should set also
height. Not according to HTML spec (proportional scaling is not
mandated). Thus wxPython HTML renderer correctly sets height=100% and
width=600px. I changed submitting guidelines in Trac. Now it is
necessary to provide correct heights for all images that have a width
parameter.

>> However,
>> "Submitting/Docs" seems to assume that "width="
>> _will_ be processed correctly. So maybe the
>> best "fix" would be to add a statement to the
>> Wiki that images should be resized with an
>> external graphics editor (to 600 pixels width
>> or less) before including them in HTML man pages.
>
> Please don't... See above for the motivation. For a few years we follow the
> new policy. Better fix/work around the bad wx HTML renderer than reverting
> to low image quality.
>
> Cheers,
> Markus
>

Māris.
_______________________________________________
grass-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to