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