export function canUseWebP(): boolean { return document.createElement("canvas").toDataURL("image/webp").indexOf("data:image/webp") === 0 }