Mono: Switch WASM profile to use bundled zlib

Created on 12 Apr 2018  路  3Comments  路  Source: mono/mono

Found in https://github.com/aspnet/Blazor/issues/445

We need to change the BCL to pinvoke __Internal for zlib: https://github.com/mono/mono/blob/1a8142c7dbb7c5fd4ff53eb50fc7cde04f6a2a06/mcs/class/System/System.IO.Compression/DeflateStream.cs#L502-L522

Then we need to change the runtime to bundle it.

System.IO.Compression proposal target-wasm

All 3 comments

Hi, is this change likely to happen? I'm guessing more and more projects will hit this as Blazor takes off.
Does this issue need more support?

Just chiming in here. I'm trying to load/save PNG images in Blazor and getting a System.DllNotFoundException when ImageSharp tries to use DEFLATE.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

NattyNarwhal picture NattyNarwhal  路  4Comments

JoseTiagoCarvalho picture JoseTiagoCarvalho  路  3Comments

DanielCauser picture DanielCauser  路  4Comments

peteryang023 picture peteryang023  路  5Comments

triztian picture triztian  路  4Comments