Description: LibreOffice imports pdf file with images in it with very poor quanlity. Steps to reproduce: 1. Open the attached test pdf file in your pdf reader, and observe the image quanlity; 2. Open the test pdf file with libreoffice draw and observe the poor image quanlity. The test pdf file was scanned from Toshiba scanner. This happens to all sanned pdfs. I am aware that this may be because libreoffice is reducing the image resolution to make it faster to load pdf files, but anyway it should not make the pdf un-readable (and importing large pdf with many images in it is always slow and may cause libreoffice crash sometimes, which is another bug). OS: Windows XP SP3 Version: 4.3.0.1, 4.2.5.2
Created attachment 101566 [details] test pdf file
Reproduced with 4.2.4.2, 4.2.5.2 and 4.3.0.1 on openSUSE. The issue is not present on 4.1.6.2. Basically to avoid this issue it is needed to change View > Color/Greyscale > Grayscale. The image included in the PDF is scanned as black & white. Changing Status to NEW and updating affected LibreOffice Version.
Created attachment 101591 [details] Colors vs Grayscale
bibisected as deep as possible. I skipped some commits as the pdf's background was black: There are only 'skip'ped commits left to test. The first bad commit could be any of: 69bf614869471f46413fe1d2af5976b2e6d85084 fa729323917d7e0d45129bc21c08d8e19faab69b 70cea68b2de84c293ea8adbe2de81f75c23d0beb 89d00e8a0afc7c82d82ff03a140cfb2c0555e595 5997ef2caf7fc40b8899eab0100042836d2db030 We cannot bisect more! # bad: [423a84c4f7068853974887d98442bc2a2d0cc91b] source-hash-c15927f20d4727c3b8de68497b6949e72f9e6e9e # good: [65fd30f5cb4cdd37995a33420ed8273c0a29bf00] source-hash-d6cde02dbce8c28c6af836e2dc1120f8a6ef9932 git bisect start 'latest' 'oldest' # good: [e02439a3d6297a1f5334fa558ddec5ef4212c574] source-hash-6b8393474974d2af7a2cb3c47b3d5c081b550bdb git bisect good e02439a3d6297a1f5334fa558ddec5ef4212c574 # bad: [4850941efe43ae800be5c76e1102ab80ac2c085d] source-hash-980a6e552502f02f12c15bfb1c9f8e6269499f4b git bisect bad 4850941efe43ae800be5c76e1102ab80ac2c085d # skip: [a043626b542eb8314218d7439534dce2fc325304] source-hash-9379a922c07df3cdb7d567cc88dfaaa39ead3681 git bisect skip a043626b542eb8314218d7439534dce2fc325304 # skip: [aba65c3e4c0df07e4909aeefb758cdb688242bf6] source-hash-827524abfb4b577d08276fde40929a9adfb7ff1a git bisect skip aba65c3e4c0df07e4909aeefb758cdb688242bf6 # skip: [aba65c3e4c0df07e4909aeefb758cdb688242bf6] source-hash-827524abfb4b577d08276fde40929a9adfb7ff1a git bisect skip aba65c3e4c0df07e4909aeefb758cdb688242bf6 # bad: [c81a8a0dcfc1ed095a80e4485c89dd0fcaf73f31] source-hash-c69ed33628ec0b7abf6296539cf280d6c4265930 git bisect bad c81a8a0dcfc1ed095a80e4485c89dd0fcaf73f31 # bad: [c81a8a0dcfc1ed095a80e4485c89dd0fcaf73f31] source-hash-c69ed33628ec0b7abf6296539cf280d6c4265930 git bisect bad c81a8a0dcfc1ed095a80e4485c89dd0fcaf73f31 # bad: [1d4980621741d3050a5fe61b247c157d769988f2] source-hash-89d01a7d8028ddb765e02c116d202a2435894217 git bisect bad 1d4980621741d3050a5fe61b247c157d769988f2 # bad: [ba096f438393091574da98fe7b8e6b05182a8971] source-hash-8499e78ca03c792f4fa2650e02b519094ba0baa8 git bisect bad ba096f438393091574da98fe7b8e6b05182a8971 # bad: [9daa289e178460daaafa4b3911031df5b8736218] source-hash-704292996a3731a61339b1a4a5c90c9403aa095f git bisect bad 9daa289e178460daaafa4b3911031df5b8736218 # skip: [69bf614869471f46413fe1d2af5976b2e6d85084] source-hash-76dea8b2db906156e77f78738a68f932a15afd4b git bisect skip 69bf614869471f46413fe1d2af5976b2e6d85084 # bad: [5997ef2caf7fc40b8899eab0100042836d2db030] source-hash-5e5f3671f8448ee21b00f0d2a08b214e61f7f744 git bisect bad 5997ef2caf7fc40b8899eab0100042836d2db030 # good: [d4078738db5f3c995eff2987d3ebdb0ac0aaf3ce] source-hash-3d5fb88cc0aa8ee6be6cec5ce0255f1412368519 git bisect good d4078738db5f3c995eff2987d3ebdb0ac0aaf3ce # skip: [fa729323917d7e0d45129bc21c08d8e19faab69b] source-hash-7275a051677b5646e56623b3addc783880ce8e9b git bisect skip fa729323917d7e0d45129bc21c08d8e19faab69b # skip: [70cea68b2de84c293ea8adbe2de81f75c23d0beb] source-hash-4a143c44fe7ad266ab9ab7dca317b0099b1438d0 git bisect skip 70cea68b2de84c293ea8adbe2de81f75c23d0beb # skip: [89d00e8a0afc7c82d82ff03a140cfb2c0555e595] source-hash-af9e58d6de158eb8f479f26c77c5e71e95b96881 git bisect skip 89d00e8a0afc7c82d82ff03a140cfb2c0555e595 # only skipped commits left to test # possible first bad commit: [5997ef2caf7fc40b8899eab0100042836d2db030] source-hash-5e5f3671f8448ee21b00f0d2a08b214e61f7f744 # possible first bad commit: [89d00e8a0afc7c82d82ff03a140cfb2c0555e595] source-hash-af9e58d6de158eb8f479f26c77c5e71e95b96881 # possible first bad commit: [69bf614869471f46413fe1d2af5976b2e6d85084] source-hash-76dea8b2db906156e77f78738a68f932a15afd4b # possible first bad commit: [fa729323917d7e0d45129bc21c08d8e19faab69b] source-hash-7275a051677b5646e56623b3addc783880ce8e9b # possible first bad commit: [70cea68b2de84c293ea8adbe2de81f75c23d0beb] source-hash-4a143c44fe7ad266ab9ab7dca317b0099b1438d0
Created attachment 106258 [details] Image extracted from test pdf This is not a problem with PDF import. If you drag this image into empty LO.Draw document, you will see the same effect. --- And image is not damaged. Zoom in and you will see. It is just bad resampling.
(In reply to vvort from comment #5) Yes you are correct. I revised the Summay accordingly.
This bug has been bibisected but apparently not yet source bisected. Adjusting Whiteboard and Keywords to suit.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.