diff options
author | m-holger <m-holger@kubitscheck.org> | 2023-05-29 20:26:18 +0200 |
---|---|---|
committer | m-holger <m-holger@kubitscheck.org> | 2023-06-02 20:24:12 +0200 |
commit | acd0acf16931ce92bc908e4960c5a1e43d53b550 (patch) | |
tree | 466c87d625ab4d5b3eab45301fab34e11be1271a /examples/pdf-invert-images.cc | |
parent | 3c5700c255f4603b5df9c6d183d13dd71a083cc3 (diff) | |
download | qpdf-acd0acf16931ce92bc908e4960c5a1e43d53b550.tar.zst |
Fix doc typos
Diffstat (limited to 'examples/pdf-invert-images.cc')
-rw-r--r-- | examples/pdf-invert-images.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/pdf-invert-images.cc b/examples/pdf-invert-images.cc index 0ef2169e..4ec83b84 100644 --- a/examples/pdf-invert-images.cc +++ b/examples/pdf-invert-images.cc @@ -120,9 +120,9 @@ main(int argc, char* argv[]) QPDFObjectHandle color_space = image_dict.getKey("/ColorSpace"); QPDFObjectHandle bits_per_component = image_dict.getKey("/BitsPerComponent"); - // For our example, we can only work with images 8-bit grayscale images that we can - // fully decode. Use pipeStreamData with a null pipeline to determine whether the - // image is filterable. Directly inspect keys to determine the image type. + // For our example, we can only work with 8-bit grayscale images that we can fully + // decode. Use pipeStreamData with a null pipeline to determine whether the image + // is filterable. Directly inspect keys to determine the image type. if (image.pipeStreamData(nullptr, qpdf_ef_compress, qpdf_dl_all) && color_space.isNameAndEquals("/DeviceGray") && bits_per_component.isInteger() && (bits_per_component.getIntValue() == 8)) { |