1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 22:22:09 +02:00
tldr/pages/common/magick.md
Lena 80cc7a5af3
imagemagick: update pages (#12874)
* compare, convert, identify, import, mogrify, montage:
   move pages to subcommands of `magick`, create alias pages

* convert: add deprecation notice

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-06-03 13:40:59 +02:00

26 lines
863 B
Markdown

# magick
> Create, edit, compose, or convert between image formats.
> This tool replaces `convert` in ImageMagick 7+. See `magick convert` to use the old tool in versions 7+.
> Some subcommands, such as `mogrify` have their own usage documentation.
> 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 JPEG 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 JPEG images in the current directory:
`magick {{*.jpg}} -adjoin {{path/to/file.pdf}}`