convert platform to image