Pdfcrop¶
A builder to crop pdf files
- class disseminate.builders.pdfcrop.PdfCrop(env, **kwargs)¶
A builder to crop a pdf and form a cropped pdf.
- Parameters
- parametersTuple[
pathlib.Path
, str, tuple, list] The input parameters (dependencies), including filepaths, for the build This tuple may have the ‘crop’ tuple value or ‘crop_percentage’ value specified. If specified the borders by the given single percentage or the 4 percentages for the left, bottom, right, and top margins. ex: (‘crop’, 10) or (‘crop’, (10, 20, 10,20) or (‘crop_percentage’, 10)
- parametersTuple[
- run_cmd_args()¶
Format the action, if it’s a string.
- Returns
- run_cmd_argsTuple[str]
A tuple of the arguments to run in a process.