mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-21 14:02:19 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
30
tldr/magick
Normal file
30
tldr/magick
Normal file
@@ -0,0 +1,30 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# magick
|
||||
|
||||
> Create, edit, compose, or convert between image formats.
|
||||
> ImageMagick version 7+. See `convert` for versions 6 and below.
|
||||
> More information: <https://imagemagick.org/>.
|
||||
|
||||
- Convert between image formats:
|
||||
|
||||
`magick {{path/to/input_image.png}} {{path/to/output_image.jpg}}`
|
||||
|
||||
- Resize an image, making a new copy:
|
||||
|
||||
`magick {{path/to/input_image.jpg}} -resize {{100x100}} {{path/to/output_image.jpg}}`
|
||||
|
||||
- Create a GIF out of all JPG images in the current directory:
|
||||
|
||||
`magick {{*.jpg}} {{path/to/images.gif}}`
|
||||
|
||||
- Create a checkerboard pattern:
|
||||
|
||||
`magick -size {{640x480}} pattern:checkerboard {{path/to/checkerboard.png}}`
|
||||
|
||||
- Create a PDF file out of all JPG images in the current directory:
|
||||
|
||||
`magick {{*.jpg}} -adjoin {{path/to/file.pdf}}`
|
||||
Reference in New Issue
Block a user