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

            Bug ID: 169439
           Summary: Draw adds two border lines to exported images
           Product: LibreOffice
           Version: 25.8.2.2 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

Description:
In Draw, when I export an image of my document as an image, the exported image
is created with a white 1-pixel border line at the bottom and another one on
the right. These lines don't replace the pixels that were already there.
Instead, the image is shifted one pixel up and left (so the pixels on the first
column and the first row of the original image are lost), and then these two
border lines are added.

I've tested this issue with different original images and different exported
formats.

Steps to Reproduce:
1. I create a document in Draw.
2. I click on ‘Insert’ > ‘Image’.
3. Once inserted, I select it and I make sure that ‘Line style’ is set to
‘None’.
4. I click on ‘Export’.
5. I enable ‘Selection’ and I choose ‘PNG’.
6. I click on 'Save’.
7. In ‘PNG options’, I don’t change anything and click on ‘OK’.

Actual Results:
There's a white border line at the bottom and another one on the right side of
the exported image.

Expected Results:
As the original image didn't have these lines and I didn't add them in Draw,
these lines shouldn't be there.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 25.8.3.2 (X86_64)
Build ID: 8ca8d55c161d602844f5428fa4b58097424e324e
CPU threads: 16; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster;
VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded

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

Reply via email to