Bug 128089 - FILESAVE: Redacted documents are saved in low resolution and quality
Summary: FILESAVE: Redacted documents are saved in low resolution and quality
Status: RESOLVED DUPLICATE of bug 124377
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
6.3.2.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-11 10:59 UTC by k.drozdek
Modified: 2019-10-11 14:15 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Exemplary source document made in Writer (23.03 KB, application/pdf)
2019-10-11 11:51 UTC, k.drozdek
Details
Exemplary output document after making modifications (66.00 KB, application/pdf)
2019-10-11 11:52 UTC, k.drozdek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description k.drozdek 2019-10-11 10:59:38 UTC
Description:
Tested with different PDF files (some containing an image, some containing text after being exported from MS Word). When the "Redacted Export (White)" or "Redacted Export (Black)" is used to save a PDF file, the quality of the output file is very poor, as in:
- the resolution is quite low (looks something like below 100 DPI)
- colored artifacts show up around added shapes
I see no option to change the resolution in the program's settings.

Steps to Reproduce:
1. Get a PDF document of any kind (eg. write something in LO Writer and export it to PDF)
2. Open it on LibreOffice Draw
3. Add some rectangles and circles to the page
4. Use either "Redacted Export (White)" or "Redacted Export (Black)" to save a redacted PDF file.
5. Open the file in a PDF reader of your choice and inspect the quality

Actual Results:
The saved file is in low resolution and colored artifacts around added shapes are visible

Expected Results:
The saved file has high enough resolution to produce a good quality print (IMO: 150 DPI at the very least) and added shapes have no distortions.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 6.3.2.2 (x64)
Build ID: 98b30e735bda24bc04ab42594c85f7fd8be07b9c
CPU threads: 8; OS: Windows 6.1; UI render: GL; VCL: win; 
Locale: pl-PL (pl_PL); UI-Language: en-US
Calc: CL

I noticed that similar issues show up if, instead of using "Redacted Export" immediately, you select all elements in the document, then right click one of them, and pick "Convert" > "To Bitmap".
Comment 1 k.drozdek 2019-10-11 11:51:00 UTC
Created attachment 154933 [details]
Exemplary source document made in Writer
Comment 2 k.drozdek 2019-10-11 11:52:39 UTC
Created attachment 154934 [details]
Exemplary output document after making modifications

Low resolution and discoloration are visible even around the text. For some reason I was unable to reproduce the issue with artifacts around shapes (there's just massive jagged edges) - this happens on one of the actual documents I have, but I cannot share it.
Comment 3 Roman Kuznetsov 2019-10-11 14:15:48 UTC

*** This bug has been marked as a duplicate of bug 124377 ***