hhannine / superpaper

A cross-platform multi monitor wallpaper manager.
MIT License
1.14k stars 46 forks source link

Superpaper hangs with very big image #65

Closed davidmh78 closed 4 years ago

davidmh78 commented 4 years ago

Running superpaper v2.02 on windows 10 64 bit, intel machine with 16GB of RAM.

When trying to apply the wallpaper found in the following URL: https://wall.alphacoders.com/big.php?i=601157 which has a size of 17042x11569 to two monitors: Left monitor 3840x2160 4k, right monitor 2560x1600, superpaper hangs, nothing happens, spinner never disappears.

hhannine commented 4 years ago

Probably the image library freaks out due to the sheer size of the image, probably assumes it's a decompression bomb or similar and refuses to open it and Superpaper doesn't catch this properly. Would you mind testing if it starts to work if you resize it down to like 8k pixels on the longer edge? Superpaper is going to resize it down further to your desktop size anyways so it doesn't need to be larger than 3840+2560=6400, if your displays both are in landscape.

davidmh78 commented 4 years ago

Tried it, resizing it to 6400 did the trick and works properly. Also tried 8521 width (50% of original size) and works perfectly too.

Thanks!

hhannine commented 4 years ago

Thanks for verifying the issue! I'll have to add some error handling for this.

hhannine commented 4 years ago

This is now resolved with 4607ed3