| Summary: | Header PNG image appears in low resolution with SKIA | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | NISZ LibreOffice Team <libreoffice> |
| Component: | graphics stack | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | VERIFIED FIXED | ||
| Severity: | normal | CC: | buzea.bogdan, l.lunak, telesto, vsfoote |
| Priority: | medium | ||
| Version: | 7.0.0.0.alpha0+ | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | target:7.0.0 | ||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 129062 | ||
| Attachments: |
The example file with SKIA rendering
The example file with OpenGL rendering rendering comparisons |
||
|
Description
NISZ LibreOffice Team
2020-04-21 10:58:02 UTC
Created attachment 159780 [details]
The example file with OpenGL rendering
Created attachment 159796 [details]
rendering comparisons
Confirming the visible artifacts in down sampling the PNG artwork when inserted into page header--comparing OpenGL to Skia / Raster or Vulkan rendering
When inserted to header, the image looks to be scaled at about 35% to fit.
But, as shown in the attached screen clip--Skia rendering (Vulkan or Raster) does no better nor worse with rendering image details under similar scaling ~50% when brought in document at page margins.
So, either specifics of image resampling done to populate the header, or breakdown in resampling at greater reduction for the Skia rendering. I didn't hunt for it in the source--but I'd suspect it is unique to the header/footer image handling.
Luboš Luňák committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/60bbff42643d0472fb358ea1b0d0123df113cdca high quality scaling in skia drawTransformedBitmap (tdf#132297) It will be available in 7.0.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. Confirmed with TB77 build for 2020-04-25, scaling on insert to header is crisp Version: 7.0.0.0.alpha0+ (x64) Build ID: fe1cf8656d6963844553993a77ef565fb2fbeda7 CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Vulkan; VCL: win; Locale: en-US (en_US); UI-Language: en-US Calc: threaded it's ok on Version: 7.0.0.0.alpha1 Build ID: 6a03b2a54143a9bc0c6d4c7f1... CPU threads: 4; OS: Linux 5.4; UI render: Skia/Raster; VCL: x11; Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded |