tricycle/elm-imgix/1.5.0

NOTE: the latest version is 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 (fork, verified). The original repository is gone. This copy comes from a fork that still has the tag. The Lamdera package server serves a copy recovered from https://github.com/raen79/elm-imgix (a fork).

What we checked: Rebuilt with git archive from commit 02cbec137dee of https://github.com/raen79/elm-imgix (a fork) (zip prefix tricycle-elm-imgix-d223798/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 f4e2c6764dcaf169ca6b199c9fbc6f92cc518f8c.

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.5.0/

ImgIX.PixelDensity

Controls the output density of your image, so you can serve images at the correct density for every user's device from a single master image.

ImgIX documentation for PixelDensity

The PixelDensity type

Device Pixel Ratio

Device pixel ratio (DPR) is an easy way to convert between device-independent pixels and device pixels (also called "CSS pixels"), so that high-DPR images are only delivered to devices that can support them. This makes images faster and saves bandwidth for users with lower-DPR devices, while delivering the expected crispness of high-DPR imagery to those devices.

dpr : Int -> PixelDensity

The density of the output image.

Applying

toQueryParameters : List PixelDensity -> List QueryParameter

Takes a list of pixel density operations and turns it in to a list of query parameters that ImgIX understands