How to convert iOS PencilKit binary data from CloudKit into a readable Image for Websites (PHP or JS)
Apple’s PencilKit creates base64 data in a application/octa-stream format. But it seems to be impossible to convert these into an image for a Website. I wanne read out a public CloudKit database by PHP (that works) and get the by pencilKit drawn images on a Website as a png or any other transparent image file. What i receive is a octa-stream format, but dont have any idea how to convert this in a right way. Any ideas?
Source: JavaSript – Stack OverflowSeptember 24, 2021