Skip to content

Commit fb16351

Browse files
committed
test image hint: complete command-line
If used from gpujpegtool, it was not clear that also dummy output filename should be also presented (because it is checked whether the count of images is even - both in and out). + example with noise pattern
1 parent b9b5391 commit fb16351

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/gpujpeg_common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ gpujpeg_image_get_file_format(const char* filename)
416416
return extensions[i].format;
417417
}
418418
}
419-
printf("\nUse \"help.tst\" for test image usage.\n");
419+
printf("\nUse \"help.tst\" (eg. `gpujpegtool help.tst null.jpg`) for test image usage).\n");
420420
return GPUJPEG_IMAGE_FILE_UNKNOWN;
421421
}
422422

src/utils/image_delegate.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ tst_usage()
262262
"\t- 1920x1080.tst - use FullHD image\n"
263263
"\t- 1920x1080.c_ycbcr-jpeg.tst - \" with YCbCr color space\n"
264264
"\t- 1920x1080.p_u8.tst - FHD grayscale (u8 pixel format)\n"
265+
"\t- 1920x1080.noise.tst - FHD RGB noise\n"
265266
"\t- 1920x1080.c_ycbcr-jpeg.p_422-u8-p1020.tst - YCbCr 4:2:2\n");
266267
printf("\n");
267268
}

0 commit comments

Comments
 (0)