img2pdf/src
James R. Barlow a8269391e9 Implement /UserUnit scaling to support oversized PDFs
The original PDF specification supported a maximum of 200x200" pages or
14400 PDF units. In PDF 1.6 rather than remove this limitation, Adobe
added the /UserUnit field for pages, which allows one to specify the
scaling that should be applied for user-facing numbers, while keeping
the internal limit of 14400 units.

Many real-world designs are larger than 200" in one direction. One
example is tractor feed or rolled paper which may be easier to scan in
one continuous run rather than segment into pages.

/UserUnit is independent of the pixel size and resolution of the image.

/UserUnit can also indicate very small page sizes but this is not
implemented here.
2017-08-20 21:19:23 +09:00
..
tests Implement /UserUnit scaling to support oversized PDFs 2017-08-20 21:19:23 +09:00
img2pdf.py Implement /UserUnit scaling to support oversized PDFs 2017-08-20 21:19:23 +09:00
jp2.py Make pep8 compliant again 2017-01-19 11:22:08 +01:00