tricycle/elm-imgix/1.6.0

Renamed to bellroy/elm-imgix. It is published under that name, and new versions come out there.

Versions published as tricycle/elm-imgix still install under that name. 7 versions of 7 come from the new location (see their notes).

Rerouted (renamed, verified). The GitHub user or repository was renamed. The tag is still there, at the new name. The Lamdera package server serves a copy recovered from https://github.com/bellroy/elm-imgix.

What we checked: The repo moved to github.com/bellroy/elm-imgix. Rebuilt with git archive from commit 7fcd8a216959 of https://github.com/bellroy/elm-imgix (zip prefix tricycle-elm-imgix-7fcd8a2/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 3f804c7496c87932071c889f9b6c7cc3dd570a33.

The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.

Details · package.elm-lang.org's zip: https://github.com/tricycle/elm-imgix/zipball/1.6.0/

ImgIX.Automatic

The auto parameter helps you automate a baseline level of optimization across your entire image catalog. Currently, it has four different methods:

  • Compression
  • Visual enhancement
  • File format conversion
  • Redeye removal

ImgIx documentation for Automatic

The Automatic type

Available automatic optimizations

When compress is set, imgix will apply best-effort techniques to reduce the size of the image. This includes altering our normal processing algorithm to apply more aggressive image compression. auto=format is respected, so images will be served in a WebP format whenever possible. If the WebP format is not supported, images that contain transparency will be served in a PNG8 format, if supported, and all others will be served as JPEG. The quality standard (q) is set to 45.

When enhance is set, the image is adjusted using the distribution of highlights, midtones, and shadows across all three channels—red, green, and blue (RGB). Overall, the enhancement gives images a more vibrant appearance.

The adjustment affects individual images differently, and works best with editorial photography, stock photography, and user-generated content for social media applications.

When fileFormat is set, imgix determines whether the image can be served in a better format by a process called automatic content negotiation.

When redEyeRemoval is set, red-eye removal is applied to any detected faces.

Applying

toQueryParameter : List Automatic -> QueryParameter

Takes a list of automatics and turns it in to a query parameters that ImgIX understands