Bug 487691

Summary: Unable to save large scans.
Product: [Applications] Skanpage Reporter: Roke Julian Lockhart Beedell <4wy78uwh>
Component: generalAssignee: Alexander Stippich <a.stippich>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 24.02.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: "Export all" to (OCR) PDF.
Output PDF.
"Save all" and "Save as" (to TIFF and PDF).

Description Roke Julian Lockhart Beedell 2024-05-28 14:19:36 UTC
Created attachment 169914 [details]
"Export all" to (OCR) PDF.

STEPS TO REPRODUCE
1.  Connect an EPSON Expression Home XP-247.
2.  Install the driver, https://koji.fedoraproject.org/koji/rpminfo?rpmID=37272185.
3.  Scan the entire bed at 1200 DPI, using Colour mode.

OBSERVED RESULT
I'm unable to save full-bed scans, but am able to save (greyscale) partial-bed scans.

EXPECTED RESULT
I should be able to save all scans (as Skanlite can).

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0
Kernel Version: 6.8.10-300.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
Memory: 30.5 GiB of RAM
Graphics Processor: AMD Radeon RX 5700
Manufacturer: ASRock
Product Name: X670E Taichi
Comment 1 Roke Julian Lockhart Beedell 2024-05-28 14:20:06 UTC
Created attachment 169915 [details]
Output PDF.
Comment 2 Roke Julian Lockhart Beedell 2024-05-28 14:25:11 UTC
Created attachment 169916 [details]
"Save all" and "Save as" (to TIFF and PDF).
Comment 3 Alexander Stippich 2024-06-23 18:09:10 UTC
Git commit fcf0af8c9a041f551e018da7ba98188935884f21 by Alexander Stippich.
Committed on 23/06/2024 at 18:06.
Pushed by astippich into branch 'master'.

raise QImageReader allocation limit back to Qt5 values
Related: bug 486984

M  +3    -0    src/Skanpage.cpp

https://invent.kde.org/utilities/skanpage/-/commit/fcf0af8c9a041f551e018da7ba98188935884f21
Comment 4 Roke Julian Lockhart Beedell 2024-06-23 23:44:48 UTC
(In reply to Alexander Stippich from comment #3)
Does the fact that a maximum allocated value exists mean that it would be possible to hit it at an even higher DPI, or is it so absurdly high that I don't need to worry? Thanks for the work.
Comment 5 Alexander Stippich 2024-06-24 16:43:18 UTC
Theoretically possible, but the current limit mirrors Qt5's behavior. There were zero issues with that.