We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a336254 commit e1212dbCopy full SHA for e1212db
src/gpujpeg_common.c
@@ -413,7 +413,9 @@ gpujpeg_image_get_file_format(const char* filename)
413
if ( strcmp(filename, "help") == 0 ) {
414
PRINTF("Recognized extensions:\n");
415
for ( unsigned i = 0; i < sizeof extensions / sizeof extensions[0]; i++ ) {
416
- PRINTF("\t- %s\n", extensions[i].ext);
+ if (extensions[i].format != GPUJPEG_IMAGE_FILE_RAW ) {
417
+ PRINTF("\t- %s\n", extensions[i].ext);
418
+ }
419
}
420
PRINTF("\nUse \"help.tst\" (eg. `gpujpegtool help.tst null.jpg`) for test image usage).\n");
421
return GPUJPEG_IMAGE_FILE_UNKNOWN;
0 commit comments