IgnorantGuru/spacefm — pull request #350 by dorkster (2013-06-29 17:00:20+00:00)
Title: Skip thumbnail generation for skinny images

As an example, let's have two images: one is 1000x19 and another is 1000x20. GDK will create the thumbnail for the latter, but not for the former. There's nothing wrong with this, since such thumbnails would become pretty useless after that point.

However, thumbnail generation can sometimes take a long time for large images (like https://raw.github.com/clintbellanger/flare-game/master/mods/fantasycore/images/enemies/fire_ant.png). So instead of wasting time attempting to generate a thumbnail and eventually failing, the aspect ratio should be checked beforehand.