(image)
| 57513 | } |
| 57514 | } |
| 57515 | function getImageType(image) { |
| 57516 | var format = getImageTypeOrNull(image); |
| 57517 | if (!format) throw new Error("Not an image"); |
| 57518 | return format; |
| 57519 | } |
| 57520 | function getImageData(image) { |
| 57521 | switch(getImageType(image)){ |
| 57522 | case "data": |
no test coverage detected