13 , colormode(colormode)
24 error =
"Blocksize of 0 and Indexed or DuoTone colormode";
33 error = QString(
"Indexed mode, but block size is %1.").arg(
blocksize);
56 error =
"Cannot write an invalid Color Mode Block";
60 error =
"Cannot write indexed color data";
67 error =
"Failed to write duotone specification";
81 error =
"Blocksize of 0 and Indexed or DuoTone colormode";
85 error = QString(
"Indexed mode, but block size is %1.").arg(
blocksize);
89 error = QString(
"DuoTone mode, but data block is empty");
93 error = QString(
"Data size is %1, but block size is %2").arg(
data.size()).arg(
blocksize);
QByteArray duotoneSpecification
bool write(QIODevice &io)
PSDColorModeBlock(psd_color_mode colormode)
std::enable_if_t< std::is_arithmetic< T >::value, bool > psdread(QIODevice &io, T &v)
std::enable_if_t< std::is_arithmetic< T >::value, bool > psdwrite(QIODevice &io, T v)