Commit c136356378cb6fb240d0784b1787f77f8ab6aa96

Authored by Jay Berkenbilt
1 parent b776dcd2

Typo in message

qpdf/qpdf.cc
... ... @@ -3817,7 +3817,7 @@ ImageOptimizer::makePipeline(std::string const& description, Pipeline* next)
3817 3817 if (o.verbose && (! description.empty()))
3818 3818 {
3819 3819 std::cout << whoami << ": " << description
3820   - << ": not optimizing because of image"
  3820 + << ": not optimizing because image"
3821 3821 << " is smaller than requested minimum dimensions"
3822 3822 << std::endl;
3823 3823 }
... ...
qpdf/qtest/qpdf/optimize-images-defaults.out
1   -qpdf: image /Im1 on page 1: not optimizing because of image is smaller than requested minimum dimensions
2   -qpdf: image /Im2 on page 1: not optimizing because of image is smaller than requested minimum dimensions
  1 +qpdf: image /Im1 on page 1: not optimizing because image is smaller than requested minimum dimensions
  2 +qpdf: image /Im2 on page 1: not optimizing because image is smaller than requested minimum dimensions
3 3 qpdf: image /Im3 on page 1: not optimizing because DCT compression does not reduce image size
4 4 qpdf: wrote file a.pdf
... ...
qpdf/qtest/qpdf/optimize-images-min-area-all.out
1   -qpdf: image /Im1 on page 1: not optimizing because of image is smaller than requested minimum dimensions
2   -qpdf: image /Im2 on page 1: not optimizing because of image is smaller than requested minimum dimensions
  1 +qpdf: image /Im1 on page 1: not optimizing because image is smaller than requested minimum dimensions
  2 +qpdf: image /Im2 on page 1: not optimizing because image is smaller than requested minimum dimensions
3 3 qpdf: image /Im3 on page 1: not optimizing because DCT compression does not reduce image size
4 4 qpdf: wrote file a.pdf
... ...
qpdf/qtest/qpdf/optimize-images-min-area.out
1   -qpdf: image /Im1 on page 1: not optimizing because of image is smaller than requested minimum dimensions
2   -qpdf: image /Im2 on page 1: not optimizing because of image is smaller than requested minimum dimensions
  1 +qpdf: image /Im1 on page 1: not optimizing because image is smaller than requested minimum dimensions
  2 +qpdf: image /Im2 on page 1: not optimizing because image is smaller than requested minimum dimensions
3 3 qpdf: image /Im3 on page 1: not optimizing because DCT compression does not reduce image size
4 4 qpdf: wrote file a.pdf
... ...
qpdf/qtest/qpdf/optimize-images-min-height.out
1 1 qpdf: image /Im1 on page 1: optimizing image reduces size from 20000 to ...
2   -qpdf: image /Im2 on page 1: not optimizing because of image is smaller than requested minimum dimensions
  2 +qpdf: image /Im2 on page 1: not optimizing because image is smaller than requested minimum dimensions
3 3 qpdf: image /Im3 on page 1: not optimizing because DCT compression does not reduce image size
4 4 qpdf: wrote file a.pdf
... ...
qpdf/qtest/qpdf/optimize-images-min-width.out
1   -qpdf: image /Im1 on page 1: not optimizing because of image is smaller than requested minimum dimensions
  1 +qpdf: image /Im1 on page 1: not optimizing because image is smaller than requested minimum dimensions
2 2 qpdf: image /Im2 on page 1: optimizing image reduces size from 20000 to ...
3 3 qpdf: image /Im3 on page 1: not optimizing because DCT compression does not reduce image size
4 4 qpdf: wrote file a.pdf
... ...