Better handle thumbnail generation of extreme aspect ratio images (fixes #3794)
* Backport fix taken from ART * Enforce minimal thumbnail size of 1x1 px in two places, prevents divison by zero and empty image generation
This commit is contained in:
@@ -59,7 +59,7 @@ protected:
|
||||
|
||||
MyRWMutex lockRW; // Locks access to all image thumb changing actions
|
||||
|
||||
guint8* preview; // holds the preview image. used in updateBackBuffer. TODO Olli: Make a cache to reduce mem significantly
|
||||
std::vector<guint8> preview; // holds the preview image. used in updateBackBuffer.
|
||||
|
||||
Glib::ustring dispname;
|
||||
|
||||
|
Reference in New Issue
Block a user