/** 把 url 或者 dataURI 转换为 Blob */ export async function urlToBlob(url: string) { return await (await fetch(url)).blob() }