Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xigh/shrinkpdf
https://github.com/xigh/shrinkpdf
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/xigh/shrinkpdf
- Owner: xigh
- Created: 2022-05-09T13:55:57.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-05-09T14:10:05.000Z (over 2 years ago)
- Last Synced: 2024-06-21T18:52:19.155Z (7 months ago)
- Language: Go
- Size: 2.93 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# shrinkpdf
A simple tool to extract and reduce the size of scanned pdf document.
# usage :
```bash
go build -v
./shrinkpdf path_to_file.pdf
```## returns :
```bash
$ ./shrinkpdf ../../assurance.pdf
../../assurance.pdf: 9538388 bytes
page 1: image: 2463x3459
page 2: image: 2463x3459
page 3: image: 2463x3459
page 4: image: 2463x3459
page 5: image: 2463x3459
page 6: image: 2463x3459
page 7: image: 2463x3459
page 8: image: 2463x3459
page 9: image: 2463x3459
page 10: image: 2463x3459
page 11: image: 2463x3459
page 12: image: 2463x3459
saving "assurance.pdf"
assurance.pdf: 4492628 bytes
```