13 lines
290 B
Markdown
13 lines
290 B
Markdown
|
|
Prerequisites
|
|
|
|
apt-get install img2pdf imagemagick
|
|
|
|
|
|
Increase memory in imagemagick policy `/etc/ImageMagick-6/policy.xml`
|
|
|
|
<policy domain="resource" name="memory" value="2GiB"/>
|
|
|
|
window.$FlowPaper('documentViewer').config
|
|
window.$FlowPaper('documentViewer').switchMode('portrait')
|
|
|