For Imagick's convert
, what are the differences
- between
-resize
and-size
, and - between
-repage
and-page
?
If I want to convert some png files to a pdf file, and change the size of images (as number of pixels, or as some standard page size such as A4), which options shall I use? (It seems like -page a4
works as it intends to, while -repage a4
doesn't make any change.)
From its manpage
-size geometry width and height of image
-resize geometry resize the image
-page geometry size and location of an image canvas (setting)
-repage geometry size and location of an image canvas