Improve size limits for AVIF, HEIF, and RAW plugins

This commit is contained in:
Mirco Miranda
2026-05-14 14:53:29 +02:00
parent 0e2b137b32
commit 9ddad16767
6 changed files with 50 additions and 13 deletions

View File

@@ -65,11 +65,11 @@ public:
inline int width() const
{
return (XMax - XMin) + 1;
return int(XMax - XMin) + 1;
}
inline int height() const
{
return (YMax - YMin) + 1;
return int(YMax - YMin) + 1;
}
inline bool isCompressed() const
{