mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-11 16:26:20 +00:00
Update codecs/jxl/dec/jxl_dec.cpp
This commit is contained in:
@@ -72,8 +72,6 @@ val decode(std::string data) {
|
||||
&jxl_profile, pixels.get(), skcms_PixelFormat_RGBA_8888, skcms_AlphaFormat_Unpremul,
|
||||
skcms_sRGB_profile(), info.xsize * info.ysize));
|
||||
|
||||
float_pixels.reset();
|
||||
|
||||
return ImageData.new_(
|
||||
Uint8ClampedArray.new_(typed_memory_view(info.xsize * info.ysize * 4, pixels.get())),
|
||||
info.xsize, info.ysize);
|
||||
|
||||
Reference in New Issue
Block a user