wiki-grav/pages/04.other/17.usefull-commands/default.en.md

13 lines
369 B
Markdown
Raw Normal View History

---
title: 'Usefull Commands'
---
[toc]
## Imagemagick
### Splitting PDF files
`$ convert -density 600 (input.pdf) -crop 50x100% +repage (out.pdf)`
```
-density: adjusts the quality of the resulting pdf. Higher values look better, but take longer to process
-crop 50x100%: this splits the pdf into "left" and "right". 100x50% would split into "top" and "bottom"
```