/usr/bin/mogrify is in graphicsmagick-imagemagick-compat 1.3.12-1.1build1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/bin/gm
/usr/bin/gm