Difference between revisions of "Imagemagick"

From Habitat: Giardino
Line 9: Line 9:
Return bitmap
Return bitmap


  Magick convert -monochrome /path/to/my/file.jpeg  export.png
  magick convert -monochrome /path/to/my/file.jpeg  export.png

Revision as of 12:08, 18 May 2022

Imagemagick

Tricks

Gray Scale

 magick convert -set colorspace Gray -separate -average /path/to/my/file.jpeg  export.jpeg

Monochrome

Return bitmap

magick convert -monochrome /path/to/my/file.jpeg  export.png