]> git.ipfire.org Git - thirdparty/cups-filters.git/commit
imagetoraster, imagetopdf: Fixed "print-scaling=none"
authorTill Kamppeter <till.kamppeter@gmail.com>
Tue, 15 Feb 2022 01:03:12 +0000 (22:03 -0300)
committerTill Kamppeter <till.kamppeter@gmail.com>
Tue, 15 Feb 2022 01:03:12 +0000 (22:03 -0300)
commit92989bb302b58ff11d0cd8d6f7755efc58f9734e
tree0ab80353220672af60658f695e27712a0f106389
parentb4daea20eb404f911fcfc80337dfbff1ad71c55c
imagetoraster, imagetopdf: Fixed "print-scaling=none"

In the imageto...()s fixed the print-scaling=none (crop-to-fit) mode,
which prints the image in its original size (based on PPI resolution
stored in the image file or on 200 dpi resolution, which is the
standard resolution for shipping labels). Also use crop-to-fit always
when requested, do not fall back to fit-to-page when the image is
significantly larger or smaller than the page.

(manually backported from commit cb2737b5683adfbe5cc25bada323f43cc1ca2329)
NEWS
filter/imagetopdf.c
filter/imagetoraster.c