Created attachment 128834 [details] Simple Scan.pdf In writer Insert -> media -> scan imports a scrambled image. I attach the image generated by Simple Scan, and the same image generated in LibreOffice 5.2.2.2 exported to .pdf. Both scans use the same source document to be scanned.file:///home/joe/Desktop/LO_Scan.pdf file:///home/joe/Desktop/Simple%20Scan.pdf
Created attachment 128835 [details] LO Scan.pdf
I am running Ubuntu 16.10 64-bit.
Created attachment 128952 [details] LibreOffice 5.2.3.3 Scan I upgraded to LibreOffice 5.2.3.3 and the problem still persists.
Just to make sure, could you test with a fresh master build? https://wiki.documentfoundation.org/Installing_in_parallel/Linux http://dev-builds.libreoffice.org/daily/master/Linux-rpm_deb-x86_64@70-TDF-dbg/current/
I attempted to install a fresh master build (5.4.0) but I was unsuccessful. Probably because I totally do not understand how to do it. I will replace my LO 5.2.3.3 with 5.3.0 Release Candidate and see if the phenomena persists.
Created attachment 129272 [details] LO 5.3.0 Beta1 scan
I tried with an Epson Perfection 1670 in 5.3.0.0beta1 / Ubuntu 16.04, and could scan normally. Actually, Insert -> Media -> Scan -> Request... didn't work (didn't do anything... that could be a bug), so I used Select Source..., didn't change anything there, scanned and the image appeared correctly. Are there any particular settings you were using?
I reverted to LO 5.2.3.3 because I was having too many issues with 5.3.0. My experience parallels Aron's in that Insert -> Media -> Scan -> Request... didn't work (didn't do anything... ). Once I had used select source it scanned, but the image was still scrambled. I see no point in uploading another scrambled image, similar to the ones already submitted. Since I use Ubuntu 16.10 64bit maybe there is some issue connecting LO with 16.10, but the fact that Simple Scan has no trouble scanning makes me think it is a LibreOffice issue.
I varied the DPI settings in the select source and then rescanned. The scrambled image varied with each different DPI but none were good.
Joseph, what's the manufacturer and model of your scanner? Could you upload a Writer document that has a scrambled scanned image? Not sure if it'll help much, but it's easier to check the image file itself there than in a processed PDF.
Created attachment 129306 [details] 600DPI Scan Different DPI settings produce different scrambled images.
The computer is fairly genetic PC with a gigabyte motherboard and 16gig ram. The scanner is a HP Officejet 6700 Premium. It is a combination flatbed, printer, copier, and FAX. It connects to the computer via a usb cable.
I solved the problem. The scan settings under select source were defaulting to lineart. This setting does not show up in the initial select source window. By opening up scan mode sub choices of mode and source appear. Source defaults to flatbed, which is fine, but mode defaults to lineart which causes the problem. Switching the mode to grey or color allows the scan to not be scrambled. I suggest making these settings visible from the start select source window.
Better yet, have some obvious way to set the defaults.
Unable to confirm. All of my environments (bibisect, compiled LO, OS-installed LO) all default to the gray mode of scanning. Likely it was a user-preference setting saved in your user profile. Deleting the profile and starting from a fresh one likely would have solved the issue.
(In reply to Justin L from comment #15) > Unable to confirm. All of my environments (bibisect, compiled LO, > OS-installed LO) all default to the gray mode of scanning. > > Likely it was a user-preference setting saved in your user profile. Deleting > the profile and starting from a fresh one likely would have solved the issue. I have totally removed the libreoffice, including profile. Then I downloaded and installed LO 5.3.3.2 and updated the operating system to Ubuntu 17.04. There is no change in the behaviour. The scanner software still defaults to lineart. There seems to be no way to make it default to anything else. Each use of the scan this setting must be reset.
(In reply to Joseph Conner from comment #16) > [...] > I have totally removed the libreoffice, including profile. Then I downloaded > and installed LO 5.3.3.2 and updated the operating system to Ubuntu 17.04. > There is no change in the behaviour. The scanner software still defaults to > lineart. There seems to be no way to make it default to anything else. Each > use of the scan this setting must be reset. If you scan without LibreOffice are you able to change the default config and reuse this default when you scan from LibreOffice? Set status to NEEDINFO, please set it back to UNCONFIRMED once requested informations are provided. Best regards. JBF
I have XSane and Simple scan installed. Neither of these provide me with the option to set lineart or grey as default. Also, neither of these present the problem.
(In reply to Joseph Conner from comment #18) > I have XSane and Simple scan installed. Neither of these provide me with the > option to set lineart or grey as default. Also, neither of these present the > problem. Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
I am now using Ubuntu 18.10, and LibreOffice Version: 6.1.1.2. Also I have changed to the scanner in HP Photosmart 5200 series. I no longer am able to reproduce the problem. The scanner settings now persist upon relaunch. I have tried both simple scan and xSane, both are working as expected.
Thanks for retesting with the latest version. Setting to RESOLVED WORKSFORME as the commit fixing this issue hasn't been identified.