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?

Thanks!
Robert

Source: JavaSript – Stack Overflow

September 24, 2021
Category : News
Tags: base64 | cloudkit | ios | javascript | php

Leave a Reply

Your email address will not be published. Required fields are marked *

Sitemap | Terms | Privacy | Cookies | Advertising

Senior Software Developer

Creator of @LzoMedia I am a backend software developer based in London who likes beautiful code and has an adherence to standards & love's open-source.