fetchDecodePixels
此内容尚不支持你的语言。
fetchDecodePixels(
url,maxEdge?):Promise<DecodedPixels>
Defined in: asset/imageDecode.ts:93
Fetch a URL and decode it to top-first RGBA pixels. The single fetch→blob→decode
path the runtime asset sources use for estella:// / http origins (a CORS-mode
<img> taints the canvas on custom schemes; fetch→blob sidesteps it). Uses the
global fetch — these callers all run in a browser/electron context.
Parameters
Section titled “Parameters”string
maxEdge?
Section titled “maxEdge?”number = 0
Returns
Section titled “Returns”Promise<DecodedPixels>