Returns the dimensions of the image.
(buffer: Uint8Array, mimeType: string)
| 114 | |
| 115 | /** Returns the dimensions of the image. */ |
| 116 | public static getSize(buffer: Uint8Array, mimeType: string): vec2 | null { |
| 117 | if (!this.impls[mimeType]) return null; |
| 118 | return this.impls[mimeType].getSize(buffer); |
| 119 | } |
| 120 | |
| 121 | /** |
| 122 | * Returns a conservative estimate of the number of channels in the image. For some image |
no test coverage detected