summaryrefslogtreecommitdiffstats
path: root/img2pdf-a4paper
blob: 53ae267238b3f5527557c027b2d6d86a8037392d (plain)
1
2
3
4
5
6
#!/bin/bash

jpeg_quality=70
jpeg_size=1500x1500
time=$(date +%Y-%m-%d_%H%M%S)
convert "$@" -resize $jpeg_size -compress jpeg -quality $jpeg_quality -density 72x72 -repage 595x842 "${time}.pdf"