Bug 153279 - No transparency in image upon PDF export (Skia)
Summary: No transparency in image upon PDF export (Skia)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
7.1.0.0.alpha0+
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Skia
  Show dependency treegraph
 
Reported: 2023-01-30 11:48 UTC by Buovjaga
Modified: 2024-01-07 16:30 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Buovjaga 2023-01-30 11:48:36 UTC
1. Open attachment 182013 [details] and export to PDF (Skia must be active)

In the resulting PDF the logo at the top has a black background.

Bibisected with win64-7.1 to
https://git.libreoffice.org/core/commit/6caa412d911e806f805633f1296ddc5908eab868
try harder to not duplicate large memory usage in SkiaSalBitmap
Comment 1 LeroyG 2023-01-30 16:42:05 UTC
Works with:
Version: 7.3.7.2 (x86) / LibreOffice Community
Build ID: e114eadc50a9ff8d8c8a0567d6da8f454beeb84f
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: default; VCL: win
Locale: es-MX (es_MX); UI: en-US
Calc: threaded

Do not works with Skia:
Version: 7.3.7.2 (x86) / LibreOffice Community
Build ID: e114eadc50a9ff8d8c8a0567d6da8f454beeb84f
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: es-MX (es_MX); UI: en-US
Calc: threaded


(In reply to Buovjaga from comment #0)
> (Skia must be active)

Thanks for sharing your discovery.
Comment 2 Rajasekaran Karunanithi 2024-01-07 14:58:57 UTC
I tried with Skia active in LO 24.8.0.0.alpha+ under Windows 10(x64) but I couldn't see the black background at the logo after the pdf export.I couldn't reproduce it.

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 25276df12abd9d002f7f899900434617b256f745
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-IN (en_IN); UI: en-US
Calc: threaded
Comment 3 LeroyG 2024-01-07 16:14:49 UTC
No black background with:

Version: 7.5.9.2 (X86_64) / LibreOffice Community
Build ID: cdeefe45c17511d326101eed8008ac4092f278a9
CPU threads: 2; OS: Windows 10.0 Build 22621; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: es-ES
Calc: CL threaded
Comment 4 Buovjaga 2024-01-07 16:16:43 UTC
Indeed

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 25276df12abd9d002f7f899900434617b256f745
CPU threads: 2; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 5 LeroyG 2024-01-07 16:27:05 UTC
The problem arises when [x] Force Skia software rendering is checked.

No difference if images are exported with lossless compression (.png) or with JPEG compression.

Reset bug status from Resolved Worksforme to New.
Comment 6 Buovjaga 2024-01-07 16:30:32 UTC
(In reply to LeroyG from comment #5)
> The problem arises when [x] Force Skia software rendering is checked.
> 
> No difference if images are exported with lossless compression (.png) or
> with JPEG compression.
> 
> Reset bug status from Resolved Worksforme to New.

Can you please check it with master?