tyre / imagineer

Image processing in Elixir
MIT License
118 stars 16 forks source link

Avoid Enum.join when working with raw binaries #17

Open jbowtie opened 6 years ago

jbowtie commented 6 years ago

In Elixir 1.6 two tests fail -- this is because Enum.join is converting items to UTF-8 strings.

This pull request uses iodata_to_binary and list_to_bin instead of Enum.join when calling zlib since we are working with raw binary data.

altyaper commented 6 years ago

I tested this fix and it works 👍 thanks @jbowtie