Skip to content

PNG and JPEG nif decoder for Erlang. Direct port of Pixels.

License

Notifications You must be signed in to change notification settings

seanhinde/erlpixels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

erlpixels

Based on Pixels

Erlang NIF to read image data from PNG and JPEG files.

This code is fully derived from the Elixir https://github.com/arjan/pixels library via a literal conversion of the Elixir parts to Erlang.

The original Elixir Pixels library should also be fully usable from Erlang.

This version exists solely because I couldn't bring myself to add an Elixir dependency to erlguten. Thank you Joe, RIP

For PNG images, it uses the lodepng C library.

For JPEG images, it uses the ujpeg C library. Progressive or lossless JPEG files are not supported by this library.

Installation

Add to your rebar.config

Build

$ rebar3 compile

Thank you Arjan for making the original

About

PNG and JPEG nif decoder for Erlang. Direct port of Pixels.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published