PHP shell to PNG/GIF