mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2026-06-29 00:09:11 -04:00
Added limit to maximum number of channels
This commit is contained in:
committed by
Mirco Miranda
parent
8bfdef2e48
commit
52045ff84d
@@ -16,6 +16,11 @@
|
||||
#include <QIODevice>
|
||||
#include <QPixelFormat>
|
||||
|
||||
// Default maximum number of channels (do not exceed 256).
|
||||
#ifndef KIF_MAX_IMAGE_CHANNELS
|
||||
#define KIF_MAX_IMAGE_CHANNELS 60
|
||||
#endif
|
||||
|
||||
// Default maximum width and height for the large image plugins.
|
||||
#ifndef KIF_LARGE_IMAGE_PIXEL_LIMIT
|
||||
#define KIF_LARGE_IMAGE_PIXEL_LIMIT 300000
|
||||
|
||||
Reference in New Issue
Block a user