How to check a QR code after compressing a PDF

Test the code in the actual output and keep decoding separate from document authenticity.

  • Workspace tool
  • Updated
  • Reading time3 min (613 words)
  • Share

By Relwick · Published

A QR code can still look like a tidy square after the small details needed by a scanner become difficult to distinguish. Visual inspection is useful, but it should be followed by an actual reading check.

Compare the same code before and after processing. That helps distinguish an export problem from a code that was already unreadable in the source.

Quick answer & key takeaways

Test the QR code in the original and the actual compressed output under comparable viewing conditions. Check that the code and its surrounding clear area remain complete, then compare the decoded content or expected verification destination. If compression makes it unreliable, return to a less aggressive result or a better source. A successful scan alone does not prove the document is authentic.

  • Test the saved output, not only the compressor preview.
  • Preserve the complete symbol and its surrounding clear area.
  • Separate successful decoding from trusted document verification.

Establish whether the source code can be read

Use a suitable trusted reader to test the original at a practical viewing or printing size. Avoid sending a private certificate to an unfamiliar online decoder merely to perform this check. Record whether the source reads consistently and what kind of result it supplies.

A QR code may contain text, an identifier, or a web address. Do not assume every code opens a verification website. If it does provide a link, inspect the destination before following it and use the issuer’s established verification process when authentication is required.

Inspect the symbol and surrounding margin

DENSO WAVE identifies distorted modules, nearby material that removes the required margin, and overlaid graphics as possible reading problems. Check for those conditions in your processed document, particularly if you cropped or resized a scanned page before compression.

Do not draw over the code, replace it with a newly generated approximation, or crop tightly to its dark squares. Retain the original visible code and its clear surrounding area. A cleaning filter that makes ordinary text look stronger may affect the code differently.

Compare the actual compressed result

Reading resultNext step
Source and output both read consistentlyCompare the decoded result and finish the document review.
Source reads but output does notTry less aggressive processing and inspect the changed region.
Neither source nor output readsInvestigate the source or obtain a better issued copy.
Output reads only at an unusually large display sizeCheck the intended viewing or printed size before relying on it.

Use PDF compressor to prepare a candidate, then open the downloaded PDF for the test. Keep the source until the final result has been checked. Do not infer readability from meeting the byte target.

Keep the conclusion within what you tested

If the destination will use a printed copy, check a representative print at the intended size. Screen success does not establish the behaviour of every printer, scanner, or later resaved copy. Retest after any additional conversion that affects the code.

A QR-code check complements the small-number comparison. Verify the ordinary text and document identity too. Relwick’s compressor does not authenticate the issuer or validate a cryptographic document signature.

Frequently asked questions

Does error correction mean any damaged code will scan?

No. Do not rely on error correction instead of checking the actual processed result.

Does a working QR code prove the certificate is genuine?

No. Decoding and the issuer’s verification process are separate checks.

Should I regenerate a code that no longer reads?

Obtain a sound source or use a less damaging processing path. Do not replace an issued document’s code with a guessed reconstruction.

Sources and further reading

Summary

Treat QR readability as a functional check on the final file. Preserve the symbol, compare with the source, and use the proper verification process for authenticity.

Related guides

Browse all guides →