Skip to content

Commit 4ace3dc

Browse files
committed
readme
1 parent dde104f commit 4ace3dc

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

README.md

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,19 @@
11
# Tile Pattern Exporter
22
Created for LearnMYOG.com<br>
3-
This set of scripts automate the tiling of large format PNG files into letter sized PDF pages with print margins and can add cut registration marks with a watermark.pdf common to every page.
3+
This set of scripts automate the tiling of large format PNG files into letter(A4), tabloid(A3), and A0 sized PDF pages with print margins, alignment and cut guides, page numbers, and a copyright stamp to each page.
44

5-
1. Input an exported PNG with size in multiples of 7.5 inches wide and 10 inches tall @ 300dpi.
6-
1. Tile huge PNG into pattern-#.pngs with image_tiler.py
7-
1. Convert pattern-#.pngs to PDFs with image_conv_pdf.py, saves into /pdfs/
8-
1. Merge individual pdfs using pdf_merge.py
9-
1. Watermark cut lines with pdf_watermarker.py
5+
For best results, input an exported PNG with size in multiples of 7.5 inches wide and 10 inches tall @ 300dpi.
106

117
## Dependencies
128
1. Imagemagick https://imagemagick.org/index.php
13-
1. Wand https://docs.wand-py.org/en/0.6.6/
14-
1. Pillow https://pypi.org/project/Pillow/
15-
1. Py2PDF2 https://pypi.org/project/PyPDF2/
9+
1. Wand https://docs.wand-py.org/en/0.6.7/
10+
1. PyPDF2 https://pypi.org/project/PyPDF2/
1611

1712
## Use
1813
1. Place exported PNG in script directory
1914
1. Execute with the following command:
2015

21-
`python3 pattern_exporter.py 'input_file.png' 'output_file.pdf'`
16+
`python3 pattern_exporter.py 'input_file.png'`
2217

2318
## Desired improvements
24-
1. Remove Imagemagick and Wand dependency without losing pdf conversion quality
25-
1. Accept PNG files with different resolutions
26-
1. Find workaround for Image.MAX_IMAGE_PIXELS = None
2719
1. Implement basic UI

0 commit comments

Comments
 (0)