Usage: gd2topng filename.gd2 filename.png [srcx srcy width height] If the coordinates are absent, the entire image is converted.