2014-05-30 20:27:55 +02:00
|
|
|
# convert
|
|
|
|
|
2016-01-07 18:31:27 +01:00
|
|
|
> Imagemagick image conversion tool.
|
2014-05-30 20:27:55 +02:00
|
|
|
|
2016-01-07 18:31:27 +01:00
|
|
|
- Convert an image from JPG to PNG:
|
2014-05-30 20:27:55 +02:00
|
|
|
|
|
|
|
`convert {{image.jpg}} {{image.png}}`
|
|
|
|
|
2016-01-07 18:31:27 +01:00
|
|
|
- Scale an image 50% it's original size:
|
2014-05-30 20:27:55 +02:00
|
|
|
|
|
|
|
`convert {{image.png}} -resize 50% {{image2.png}}`
|
|
|
|
|
2016-01-07 18:31:27 +01:00
|
|
|
- Scale an image keeping the original aspect ratio to a maximum dimension of 640x480:
|
2015-12-31 11:54:03 +01:00
|
|
|
|
|
|
|
`convert {{image.png}} -resize 640x480 {{image2.png}}`
|
|
|
|
|
2016-01-07 18:31:27 +01:00
|
|
|
- Horizontally append images:
|
2014-05-30 20:27:55 +02:00
|
|
|
|
|
|
|
`convert {{image1.png}} {{image2.png}} {{image3.png}} +append {{image123.png}}`
|