Created attachment 150885 [details] Screenshot of Skanpage showing scanned image SUMMARY *** Every time I try to scan a letter-sized page on my HP Envy 7855, the scanned image has an additional blank area almost the same size as the scanned page. *** STEPS TO REPRODUCE 1. Start Skanpage 2. Place page on either the document feeder or the flatbed 3. Scan the page OBSERVED RESULT Image wit an additional black area EXPECTED RESULT Image of only the scanned page SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: openSUSE Tumbleweed (available in About System) KDE Plasma Version: 5.25.3 KDE Frameworks Version: 5.96.0 Qt Version: 5.15.5 ADDITIONAL INFORMATION
I can also reproduce this easily on Arch. Changing back to a custom (which was previously working) also inserts the black section. So perhaps it is just triggered when changing page size in general? Operating System: Arch Linux Skanpage 22.08.0 KDE Plasma Version: 5.25.5 KDE Frameworks Version: 5.97.0 Qt Version: 5.15.5 Kernel Version: 5.19.3-arch1-1 (64-bit) Graphics Platform: X11
A possibly relevant merge request was started @ https://invent.kde.org/libraries/ksanecore/-/merge_requests/13
Git commit 857f9782b73d406436c32adb69bd307eddebdb54 by John Doe. Committed on 16/05/2023 at 15:07. Pushed by ngraham into branch 'master'. Crop the image after a scan finished This is necessary when the image was expanded with renewImage(), that is the only place (I found) where the black region of M +27 -16 src/imagebuilder.cpp M +1 -0 src/imagebuilder.h M +1 -0 src/scanthread.cpp https://invent.kde.org/libraries/ksanecore/commit/857f9782b73d406436c32adb69bd307eddebdb54
Git commit d3e2c41182d58b5ab1b22de75f78ce4e7f8f9c0c by Nate Graham, on behalf of John Doe. Committed on 18/05/2023 at 13:34. Pushed by ngraham into branch 'release/23.04'. Crop the image after a scan finished This is necessary when the image was expanded with renewImage(), that is the only place (I found) where the black region of (cherry picked from commit 857f9782b73d406436c32adb69bd307eddebdb54) M +27 -16 src/imagebuilder.cpp M +1 -0 src/imagebuilder.h M +1 -0 src/scanthread.cpp https://invent.kde.org/libraries/ksanecore/commit/d3e2c41182d58b5ab1b22de75f78ce4e7f8f9c0c