91 if (version < 1 || version > 2) {
95 if (nChannels < 1 || nChannels > 56) {
100 if (height < 1 || height > 30000) {
101 error = QString(
"Height out of range: %1").arg(
height);
104 if (width < 1 || width > 30000) {
105 error = QString(
"Width out of range: %1").arg(
width);
109 if (height < 1 || height > 300000) {
110 error = QString(
"Height out of range: %1").arg(
height);
113 if (width < 1 || width > 300000) {
114 error = QString(
"Width out of range: %1").arg(
width);
122 if (colormode < 0 || colormode > 9) {