decode bytearray no stream to avoid crash when decode webp