ex_png
ex_png copied to clipboard
- use `import Config` instead of `use Mix.Config` - use `import Bitwise` instead of `use Bitwise` [Elixir 1.14 hard deprecations](https://github.com/elixir-lang/elixir/blob/main/CHANGELOG.md#4-hard-deprecations)
File.write/3 may fail, Image.to_file/3 should handle that case too. #33
`File.write/3` may fail, `Image.to_file/3` should handle that case too. Thank you for your efforts !
Right now encoding is done with 8 bit depth, truecolor_alpha color, default zlib compression, and no interlacing. It would be nice to provide options to do differently, either user provided...
* Would using erlang `:arrays` be faster for storing pixels than 2d Lists? * Storing pixel data as 4byte integers instead of structs? Should add some benchmark data for reading...