Skip to content
Permalink
Browse files
Remove test if quality is >= 84
  • Loading branch information
rectangular committed Apr 22, 2020
1 parent 214f2bb commit 3577b1baca154e05abb623d135805b9e90ea620b
Showing 1 changed file with 7 additions and 7 deletions.
@@ -797,13 +797,13 @@ bool Processor::ProcessJpegData(const Params& params, const JPEGData& jpg_in,
final_output_ = out;
stats_ = stats;

if (params.butteraugli_target > 2.0f) {
fprintf(stderr,
"Guetzli should be called with quality >= 84, otherwise the\n"
"output will have noticeable artifacts. If you want to\n"
"proceed anyway, please edit the source code.\n");
return false;
}
// if (params.butteraugli_target > 2.0f) {
// fprintf(stderr,
// "Guetzli should be called with quality >= 84, otherwise the\n"
// "output will have noticeable artifacts. If you want to\n"
// "proceed anyway, please edit the source code.\n");
// return false;
// }
if (jpg_in.components.size() != 3 || !HasYCbCrColorSpace(jpg_in)) {
fprintf(stderr, "Only YUV color space input jpeg is supported\n");
return false;

0 comments on commit 3577b1b

Please sign in to comment.