aboutsummaryrefslogtreecommitdiffstats
path: root/src/blind-single-colour.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/blind-single-colour.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/blind-single-colour.c b/src/blind-single-colour.c
index 7e8c348..567a7f5 100644
--- a/src/blind-single-colour.c
+++ b/src/blind-single-colour.c
@@ -59,6 +59,9 @@ main(int argc, char *argv[])
eset_pixel_format(&stream, pixfmt);
SELECT_PROCESS_FUNCTION(&stream);
+ CHECK_N_CHAN(&stream, 4, 4);
+ if (argc < 3)
+ CHECK_COLOUR_SPACE(&stream, CIEXYZ);
fprint_stream_head(stdout, &stream);
efflush(stdout, "<stdout>");