Let’s consider you have Blob instance (blob). You can use then slice method on it:
blob = blob.slice(0, blob.size, "image/jpeg")
and that’s it.
It just creates a new blob with the same data, but with the new type.
Let’s consider you have Blob instance (blob). You can use then slice method on it:
blob = blob.slice(0, blob.size, "image/jpeg")
and that’s it.
It just creates a new blob with the same data, but with the new type.