-
Notifications
You must be signed in to change notification settings - Fork 393
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* This implements a function used in several programs, that takes a set of input pdf files that are assumed to be page images, and renders every page in a temp directory at a requested resolution. * Modified prog/cleanpdf to use this function; checked with previous implementation; used valgrind. * The new implementation is better because it writes the output files in a temp directory that is cleaned out with each invocation of the function. In the previous implementation, it was necessary to remove previously rendered files by hand. * The new implementation allows output images to be rendered at resolutions between 50 and 300 ppi, independent of the actual resolution of the input images wrapped in the pdf files. This is done by assuming the input pages are 612 x 792 printer points. * pdf files generated by applications like cleanpdf, that use this function, will print normally on 8.5 x 11 inch paper.
- Loading branch information
1 parent
66237e2
commit 913550c
Showing
6 changed files
with
304 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.