cpbitmap image to png format