View Source Changelog

image-0-8-0

Image 0.8.0

This is the changelog for Image version 0.8.0 released on September 30, 2022. For older changelogs please consult the release tag on GitHub

  • Image.open/2 now accepts raw image data for the image types .jpeg, .png, .webp and .tiff

image-0-7-0

Image 0.7.0

This is the changelog for Image version 0.7.0 released on September 30, 2022. For older changelogs please consult the release tag on GitHub

enhancements

Enhancements

  • Set the environment variable VIPS_BLOCK_UNTRUSTED at application start if it is not already set. As of libvips 8.13 this environment variable will cause libvips to not use any image loaders that are "unfuzzed".

  • Add mutable draw operations. These operations mutate an image directly and hence special care is taken to avoid race conditions. All mutuable operations are serialized via a GenServer. See the Image.Draw module. These functions are experimental for now pending additional testing.

  • Add Image.from_binary/2 to support creating an image from a raw binary.

  • Thanks to @timothyvanderaerden for the PR to support getting dialyzer under control. Work will continue on this over the next several releases.

image-0-6-0

Image 0.6.0

This is the changelog for Image version 0.6.0 released on July 19th, 2022. For older changelogs please consult the release tag on GitHub

bug-fixes

Bug fixes

  • Don't attempt to compile code that refers to Plug.t if Plug is not configured. Thanks to @kwando. Closes #7.

enhancements-1

Enhancements

  • Adds Image.dshash/1 to return a 512-bit image hash.

  • Adds Image.hamming_distance/2 to compare the similarity of two images or two image hashes.

  • Adds Image.radial_gradient/3 to great a radial gradient image. This could be used to composite over another image to add a vignette.

  • Adds Image.Math logical functions boolean_and/2, boolean_or/2, boolean_xor/2, boolean_lshift/2 and boolean_rshift/2. Also includes the ! versions.

  • Add operator use Image.Math overloads for image &&& (and), ||| (or), <<< (lshift) and >>> (rshift).

image-0-5-0

Image 0.5.0

This is the changelog for Image version 0.5.0 released on June 24th, 2022. For older changelogs please consult the release tag on GitHub

enhancements-2

Enhancements

image-0-4-0

Image 0.4.0

This is the changelog for Image version 0.4.0 released on June 23rd, 2022. For older changelogs please consult the release tag on GitHub

enhancements-3

Enhancements

  • Adds support for opening streaming images. This allows images to be streamed from File.stream!/3 or from any t:Stream.t/0 including those created from ExAws.S3 by ExAws.stream!/2.

  • Adds support writing streaming images. This allows images to be streamed as an enumerable which can then be consumed by Plug.Conn.chunk/2, by ExAws.S3.upload/3, File.stream/3 or any other function that processes stream resources. See the test/stream_image_test.exs for examples.

  • Adds a :memory option to Image.write/3. Instead of a path name or stream, use :memory if you'd like to return a binary form of an image in its formatted type. Note that this will run the image transformation pipeline resulting in the entire final image being loaded into memory. Therefore this option should be used sparingly since most use cases do not require this option. It is primarily added to facilitate passing images to other libraries in the Elixir ecosystem.

image-0-3-0

Image 0.3.0

This is the changelog for Image version 0.3.0 released on June 4th, 2022. For older changelogs please consult the release tag on GitHub

enhancements-4

Enhancements

  • Add Image.dominant_color/2 to return the dominant color of an image

  • Add Image.histogram/1 to return a histogram of an image

  • Add Image.get_pixel to get the pixel value at a given x and y offset into an image.

image-0-2-0

Image 0.2.0

This is the changelog for Image version 0.2.0 released on May 18th, 2022. For older changelogs please consult the release tag on GitHub

enhancements-5

Enhancements

image-0-1-0

Image 0.1.0

This is the changelog for Image version 0.1.0 released on May 4th, 2022. For older changelogs please consult the release tag on GitHub

enhancements-6

Enhancements

  • Initial release