convert is documented here: ImageMagick | Command-line Tools: Convert
It’s a native program and part of the ImageMagick set of image manipulation tools. IM gets installed by the Ubuntu package manager inside the docker container; it’s not part of Discourse.