Support png and txt display to the client.