Commit fbf9db1
committed
gpujpegtool: avoid some error on unknown extension
if user specifies all image properties, like in the following:
gpujpegtool -s 1920x1080 -c rgb -f 4444-u8-p0123 \
-O enc_opt_channel_remap=2103 -e in.gbra out.jpg
do not query the format from the file which avoids the error:
[GPUJPEG] [Error] GPUJPEG_IMAGE_FILE_UNKNOWN should not be passed!
because of the file extension .gbra, which is now semantically perfectly
correct.1 parent 23bd3df commit fbf9db1
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
255 | 258 | | |
256 | 259 | | |
257 | 260 | | |
| |||
0 commit comments