https://bugs.documentfoundation.org/show_bug.cgi?id=144167

--- Comment #24 from Valerio Messina <[email protected]> ---
You insist on the fact that you have to select either only the size or only the
resolution, but for the definition:
px = inch * dpi = mm * dpmm
to find out which pixel size to generate for the PNG, LibreOffice will always
need two data: size and resolution.

In fact, when you create (or resize) an image in GIMP (but also with Inkscape,
Scribus or other graphics programs), two quantities are always specified to
define an image, pixel and DPI, or size mm and DPI (maybe one is set at default
but changeable), so that the third is calculated with the formula above.

The fact that the two voices are in alternate with LO, can be a GUI bug itself.
Or perhaps the designer wanted to undergo that when changing the resolution, it
means that the size must be kept by default to that of the page (or to the size
of the area without border), but, for unknown reason, as now LO change that
with an unknown logic.

If changing the resolution, LO would keep the output size to the size of the
area without border, in the simplest case, it would not be necessary to set
both.
In any case, in the most general case of export, both items can be specified by
the user (with the dimension default to that of the area without edge).

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to