https://bugs.freedesktop.org/show_bug.cgi?id=43449

             Bug #: 43449
           Summary: WIKIHELP image size should be in pixel, or else trash
                    resizing
    Classification: Unclassified
           Product: LibreOffice
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Documentation
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Currently, the script to convert LOCALHELP to WIKIHELP [1] generates image size
in inch, by getting the size from attributes "width" and "height" of <image>
tag, which is currently in inch. See "class Image" in the script.

First, we should consider whether we should resizing the image at all. That is,
whether the image is already used in it own size.

And if we have to resize, we should change this to pixel, as MediaWiki only
support pixel, not inch. [2] Maybe by calculating image size from DPI
(resolution) and the size to show.

But if not, we might delete the resizing code.

Note: I'm not sure whether GSoC project "Convert the LibreOffice web help
(wikihelp) to platform specific help" affects this.

[1]
http://cgit.freedesktop.org/libreoffice/help/tree/helpcontent2/to-wiki/wikiconv2.py
[2] http://www.mediawiki.org/wiki/Help:Images

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to