Ready JPEG dimensions from a Uint8Array or Buffer in node