Bug 160305 - Export WebP : does not support transparency
Summary: Export WebP : does not support transparency
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 160588 (view as bug list)
Depends on:
Blocks: Impress-Gradient Graphics-Export
  Show dependency treegraph
 
Reported: 2024-03-21 13:38 UTC by Lucie
Modified: 2024-04-08 20:54 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
webp file with white background instead of transparent background (5.48 KB, image/webp)
2024-03-21 13:38 UTC, Lucie
Details
sample ODP to export (44.26 KB, application/vnd.oasis.opendocument.presentation)
2024-03-22 03:48 UTC, Stéphane Guillou (stragu)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lucie 2024-03-21 13:38:42 UTC
Created attachment 193230 [details]
webp file with white background instead of transparent background

I have created a slide with a transparent background.

When I export the slide in png, the png file has a transparent background.

But when I export the file in webp, the webp file has a white background.

It seems the webp format does not support transparency.

I enclose a sample webp file.

I am using LibreOffice version 24.2.2.1
Comment 1 Stéphane Guillou (stragu) 2024-03-22 03:48:18 UTC
Created attachment 193235 [details]
sample ODP to export

Reproduced with:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 53c5d570cab036b23f4969b858a648c8f0c24f93
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded

And already in 7.4, when WebP was introduced:

Version: 7.4.0.3 / LibreOffice Community
Build ID: f85e47c08ddd19c015c0114a68350214f7066f5a
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 2 m_a_riosv 2024-04-08 20:39:59 UTC
*** Bug 160588 has been marked as a duplicate of this bug. ***
Comment 3 Archie Cobbs 2024-04-08 20:54:55 UTC
Just a note...

Bug #160588 was marked as a duplicate of this bug, but bug #160588 describes TWO problems, only one of which duplicates this bug (WEBP with white background instead of transparent).

So in order not to lose track of the OTHER problem, I'm reproducing it here. My apologies if these are somehow actually the same bug - if so ignore this comment.

The OTHER bug is that text in an PNG export loses its color (i.e., becomes transparent) when "Include transparency" is checked, but when "Include transparency" is not checked.

1. Open bug-example.odg in Draw
2. Export -> PNG -> Include transparency
3. [BUG] Notice text in image is missing color -> see png-with-transparency.png

See bug #160588 for the test case.