https://bugs.documentfoundation.org/show_bug.cgi?id=98954
Stéphane Guillou (stragu) <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected], | |stephane.guillou@libreoffic | |e.org See Also| |https://bugs.documentfounda | |tion.org/show_bug.cgi?id=12 | |6876 URL| |https://ask.libreoffice.org | |/t/obtention-dun-fichier-pn | |g-fond-transparent/55280 Keywords| |bibisected Version|5.0.0.0.alpha0+ Master |5.0.3.2 release Summary|EXPORT to PNG: Background |EXPORT to PNG: Page |Transparency is Lost |background transparency is | |lost in Writer --- Comment #10 from Stéphane Guillou (stragu) <[email protected]> --- I reproduce comment 0: testing with attachment 123954 ODT, File > Export > PNG ("save transparency" ticked), the result is a solid background. Same if setting page background to: A. none fill + no transparency B. none fill + full transparency C. none fill + partial (80%) transparency D. solid fill + full transparency E. solid fill + partial (80%) transparency Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 6f4adc1274cfac30b9097411bb193bd4386969f0 CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3 Indeed, this is inconsistent with Draw's PNG export. Same happens with Calc for case A. However, Calc's page style does not support transparency, so I'm unsure if anything should be done there. Better keep this Writer-specific. Regarding the claim that case A is a 5.0 regression: I checked with the linux-64-releases bibisect repository and found that libreoffice-5.0.3.2 was the first version affected. In LO 5.0.3.1, it would result in what Eugene expects. No bibisect repo to check more precisely, but `git log libreoffice-5.0.3.1..libreoffice-5.0.3.2` shows the obvious cause: commit a093c5cac3a7b5ecdddf10720f4543ddf82b9163 Author: Tomaž Vajngerl Date: Mon Oct 19 14:04:21 2015 +0200 Writer image export: cmd. line, default to white background This commit fixes the writer image export (jpeg, png) that didn't work because the export pixel size was set to 0 by default. Now the default is set to document size (which depends on system DPI). When exporting to a PNG the background was transparent, which may not be desired. The background color is now by default white and can be changed for DocumentToGraphicRenderer, but the dialog or command line don't support such an option - for now. Reviewed-on: https://gerrit.libreoffice.org/19479 It could be debated if case A should result in a transparent background (even though that's what happens in Draw), but to me, this is obviously a bug for the cases that do use a non-0 transparency value for the page background (an issue that predates Quikee's commit). Quikee, what's you opinion on the issue now? -- You are receiving this mail because: You are the assignee for the bug.
