Add item to media library from blob or dataUrl
Finally I found a solution on my own. There is no direct way to pass pure binary data (like a blob) to the WP upload object. Only File based objects will be processed. I had to create a separate XmlHttpRequest. (Simply using $.ajax() did not work and resulted in polluted Image data.) After successfully uploading … Read more