Error when rendring in :egd (UndefinedFunctionError) function :zlib.crc32/2 is undefined or private

Hi @polovy !

I believe the issue you’re facing is due to the fact that the :egd library uses zlib:crc32/2, but that was removed in Erlang/OTP 27. Can you confirm this is a version you’re using (via elixir --version)?

Your code seems to be working as intended when an older version of Erlang/OTP is used, as those versions still retain zlib:crc32/2.

If you “just” want to run your code to see that it is working, you can downgrade your version of Erlang/OTP to below 27. Otherwise, you’ll need to look into either patching the :egd library to use the built-in :erlang.crc32/1, or to look for other ways to perform this part of the job :egd is doing for you.