Skip to content

Image version 0.62.0

Choose a tag to compare

@kipcole9 kipcole9 released this 08 Aug 22:26
· 55 commits to main since this release

Breaking Change

  • Image.histogram/1 previously normalized the results which meant that the pixel counts for each bucket could not be resolved. The function no longer normalises the histogram so the raw pixel counts per bucket are retained.

Bug Fixes

  • Image.histogram/1 is fixed to not normalize histogram entries. Therefore the histogram now returns correct pixel counts.

  • Fix Image.Text.add_background_padding/2 when the padding is derived from a base image.

Enhancements

  • Add Image.to_list/1 to return an image as a nested list.

  • Added an example for Image.histogram/1 to illustrate what data is returned and how to interpret it.