use CutyCapt to generate png