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