Converting down PNGs to 256 greys

Annexe

This originally appeared on the Annexe.

Using ImageMagick:

convert -type grayscale -depth 8

Using GraphicsMagick:

gm convert -type grayscale -depth 8

Author bio and support

Me!

Ruben Schade is a technical writer and infrastructure architect in Sydney, Australia who refers to himself in the third person in bios. Hi!

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite bespoke cloud infrastructure provider.

If you found this post helpful or entertaining, you can shout me a coffee or send a comment. Thanks ☺️.