]> git.ipfire.org Git - thirdparty/cups-filters.git/commit
Add crop-to-fit scaling feature. 92/head
authordh <dhirajyadav135@gmail.com>
Fri, 22 Feb 2019 15:55:33 +0000 (21:25 +0530)
committerdh <dhirajyadav135@gmail.com>
Mon, 4 Mar 2019 21:49:20 +0000 (03:19 +0530)
commitf80c0042dcb782cdeb3840c630c9b522fbf55461
tree10d67aac6ae264ae8848cd11b8aba4fc31c05f47
parentdaca2bc5b6935d0b1a316cc69f7d2d853370c6f2
Add crop-to-fit scaling feature.

Input file is cropped and printed. We don't do scaling in crop-to-fit.
Fixes #65. imagetoraster, imagetopdf and pdftopdf filters are mutually exclusive.

"-o fill" option is now equivalent to "print-scaling=fill".
filter/imagetopdf.c
filter/imagetoraster.c
filter/pdftopdf/pdftopdf.cc
filter/pdftopdf/pdftopdf_processor.cc
filter/pdftopdf/pdftopdf_processor.h
filter/pdftopdf/qpdf_pdftopdf_processor.cc
filter/pdftopdf/qpdf_pdftopdf_processor.h