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:
@@ -281,6 +281,7 @@ public:
|
||||
CPBKeyType CPBKeys; // Custom Profile Builder's key type
|
||||
int editorToSendTo;
|
||||
int maxThumbnailHeight;
|
||||
int maxThumbnailWidth;
|
||||
std::size_t maxCacheEntries;
|
||||
int thumbInterp; // 0: nearest, 1: bilinear
|
||||
std::vector<Glib::ustring> parseExtensions; // List containing all extensions type
|
||||
|
Reference in New Issue
Block a user