--- jpeg-quantsmooth-git-f402291bf.old/jpegqs.1 +++ jpeg-quantsmooth-git-f402291bf/jpegqs.1 @@ -15,7 +15,7 @@ .SH OPTIONS .TP .B \-q, \-\-quality n -Quality setting (0\-6, default is 3)/home/rainbow/Desktop/pngtest/jpegrestore/jpegqs.1 +Quality setting (0\-6, default is 6) .TP .B \-n, \-\-niter n Number of iterations (default is 3) @@ -25,9 +25,6 @@ .B \-t, \-\-threads n Set the number of CPU threads to use .TP -.B \-o, \-\-optimize -Option for libjpeg to produce smaller output file -.TP .B \-v, \-\-verbose n Print libjpeg debug output .TP --- jpeg-quantsmooth-git-f402291bf.old/quantsmooth.c +++ jpeg-quantsmooth-git-f402291bf/quantsmooth.c @@ -254,8 +254,8 @@ FILE *output_file = stdout; #endif - int optimize = 0, jpeg_verbose = 0, cmd_info = 15, cmd_cpu = 0, cmd_copy = 2; - int quality = 3, cmd_niter = -1, cmd_flags = -1; + int optimize = 1, jpeg_verbose = 0, cmd_info = 15, cmd_cpu = 0, cmd_copy = 2; + int quality = 6, cmd_niter = -1, cmd_flags = -1; jpegqs_control_t opts = { 0 }; #ifdef _WIN32 progress_data_t prog;