We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7290b4 commit 207412eCopy full SHA for 207412e
src/webviews/extension-side/plotView/plotViewHandler.ts
@@ -79,7 +79,7 @@ export function getPngDimensions(buffer: Uint8Array): { width: number; height: n
79
}
80
// The dimensions of a PNG are the first 8 bytes (width then height) of the IHDR chunk. The
81
// IHDR chunk starts at offset 8.
82
- const view = new DataView(buffer.buffer)
+ const view = new DataView(buffer.buffer);
83
return {
84
width: view.getUint32(16, false),
85
height: view.getUint32(20, false)
0 commit comments