Fixed readme formatting
This commit is contained in:
parent
ad3e983587
commit
0a81a4d524
18
README.md
18
README.md
|
@ -6,9 +6,9 @@ Takes a dual pdf and turns it into a format acceptable to blurb.com for magazine
|
|||
|
||||
It's as simple as
|
||||
|
||||
pdftocairo -png [yourpdf].pdf
|
||||
python3 test2.py
|
||||
img2pdf --dpi 156 *-2.png -o final.pdf
|
||||
pdftocairo -png [yourpdf].pdf
|
||||
python3 test2.py
|
||||
img2pdf --dpi 156 *-2.png -o final.pdf
|
||||
|
||||
Ok so maybe not really.
|
||||
|
||||
|
@ -18,9 +18,9 @@ After running test2.py, you need to open one of the images ending in -2.png (or
|
|||
|
||||
Finally, just use that dpi with img2pdf to merge the images into the final pdf you're going to upload to blurb. Unfortunately the --dpi option was removed from img2pdf, however if you download and install the last version on github it will still work. To do that
|
||||
|
||||
git clone https://github.com/josch/img2pdf
|
||||
cd img2pdf
|
||||
git co 06d90eea154629213a529fb0cae3f832d225c0e8 # As of the time of writing, this is the head of master, but just to future-proof everything...
|
||||
sudo python3 setup.py install
|
||||
cd ..
|
||||
rm -rf img2pdf
|
||||
git clone https://github.com/josch/img2pdf
|
||||
cd img2pdf
|
||||
git co 06d90eea154629213a529fb0cae3f832d225c0e8 # As of the time of writing, this is the head of master, but just to future-proof everything...
|
||||
sudo python3 setup.py install
|
||||
cd ..
|
||||
rm -rf img2pdf
|
||||
|
|
Loading…
Reference in New Issue