diff --git a/src/films/hdrfilm.cpp b/src/films/hdrfilm.cpp index c264969f..f3924f07 100644 --- a/src/films/hdrfilm.cpp +++ b/src/films/hdrfilm.cpp @@ -236,6 +236,9 @@ public: if (pixelFormats.size() != 1 && channelNames.size() != pixelFormats.size()) Log(EError, "Number of channel names must match the number of specified pixel formats!"); + if (m_pixelFormats.size() != 1 && m_fileFormat != Bitmap::EOpenEXR) + Log(EError, "General multi-channel output is only supported when writing OpenEXR files!"); + for (size_t i=0; i