Generate PNG thumbnail on the client and send to the server.