Fix inverted scanned documents permanently
When physical contracts are rushed through a horizontal document scanner, it is incredibly common for a portrait page to accidentally scan in sideways, forcing the eventual reader to tilt their heads to interpret the document. Standard PDF "Viewers" allow you to rotate your screen, but usually fail to permanently save that alteration to the actual file structure.
By leveraging `pdf-lib` via client-rendering, the FreeTools Rotator injects permanent `page.setRotation()` algorithmic mandates into the document's metadata matrix. The output relies completely on safe Javascript processing, modifying orientations flawlessly offline without compromising the original file pixel resolution.