[GRASS-dev] r.fill.gaps porting

Maris Nartiss maris.gis at gmail.com
Sat Apr 15 08:47:36 PDT 2017


2017-04-15 16:13 GMT+03:00 Markus Neteler <neteler at osgeo.org>:
>
>> 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.


More information about the grass-dev mailing list