* Draw the first decoded frame of an image into a PNG data URL (freezes GIFs). * Returns null if decode/canvas fails (e.g. tainted canvas from cross-origin without CORS). * * Tries: CORS Image → plain Image → same-origin fetch+blob (cookie-aware) for relative/API URLs.
(img: HTMLImageElement)
source not stored for this graph (policy: none)
no outgoing calls
no test coverage detected