This is the command gemtopbm that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
gemtopnm - convert a GEM .img file into a portable anymap
gemtopnm [-d] [gemfile]
Reads a GEM .img file, either the one plane (black/white) or four plane (16 color)
varieety, as input. Reads from stdin if input file is omitted. Produces a PBM or PPM
file as output, depending on whether the input is one or four plane.
-d Produce output describing the contents of the .img file.
Use gemtopbm online using onworks.net services