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

            Bug ID: 172459
           Summary: UI: Draw Gallery forces black background on imported
                    SVG thumbnails
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Draw
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 207444
  --> https://bugs.documentfoundation.org/attachment.cgi?id=207444&action=edit
this is svg example

Hi everyone,

I am facing a critical issue when importing a large set of custom shapes into
LibreOffice Draw Gallery. 

I have a collection of around 400 custom SVG icons (representing clouds,
computers, peripheral devices, and people). All of these icons consist of black
vector lines with transparent backgrounds. 

When I import this folder into a New Theme in the Gallery, the LibreOffice
thumbnail generator forces a pitch-black background inside the preview squares.
Because my icons are black, they become completely invisible in the Gallery
panel, appearing as solid black squares. 

However, when I drag these invisible squares onto the white document page, the
icons display perfectly as black vector lines. 

Manually adding a white background container to 400 individual SVG files is
impossible due to the sheer volume. Converting them to PNG breaks the vector
quality which I strictly need for resizing without pixelation.

Is there a workaround, a macro, or a native setting to force the Gallery
preview to use a light/white background for SVG thumbnails? 

Thank you!

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

Reply via email to