Bug 500159

Summary: kdenlive fails to import a png if the pixel count is very high
Product: [Applications] kdenlive Reporter: bugs.kde
Component: Project Bin & ImportAssignee: Jean-Baptiste Mardelle <jb>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 24.12.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Logo with very high pixel count

Description bugs.kde 2025-02-16 03:04:32 UTC
Created attachment 178418 [details]
Logo with very high pixel count

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY


STEPS TO REPRODUCE
1. Create a PNG with transparency, 20833 pixels wide, 20833 pixels high (typical for high res logos)
2. Try to import this as a clip (Project, Add clip of folder)
3. 

OBSERVED RESULT
Error message "Cannot open file qimage:/home/degarr/Pictures/800trustlogogreen.png"

EXPECTED RESULT
If the file is too big, i'd expect that to be mentioned, rather then hinting that its something to do with qimage


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 24.04.1 LTS
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Tried both flatpak and appimage, also tried 24.12.1
Comment 1 bugs.kde 2025-02-16 03:05:06 UTC
The same error is thrown if the format is jpg