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

Create and apply options to images hosted on ImgIX.

ImgIX

type ImgIX

The type of an ImgIX image

Creation

fromUrl : Url -> ImgIX

Create a new ImgIX from an Url

fromString : String -> Maybe ImgIX

Create a new ImgIX from a string representing an Url

Pixel Density

Control the pixel density of an ImgIX Check the ImgIX.PixelDensity module for all the available options.

Apply a list of PixelDensity operations

Format

format : List (Format -> Format) -> ImgIX -> ImgIX

Control the format of an ImgIX Check the ImgIX.Format module for all the available options.

Size

Control the size of an ImgIX Check the ImgIX.Size module for all the available options.

sizes : List Size -> ImgIX -> ImgIX

Apply a list of Sizes

Rotation

Adjust an ImgIX using Rotations Check the ImgIX.Rotation module for all the rotations available.

Apply a list of Rotations

Adjustment

Adjust an ImgIX using Adjustments Check the ImgIX.Adjustments module for all the adjustments available.

Apply a list of Adjustments

Automatic Optimization

Apply an automatic optimization Check the ImgIX.Automatic module for all the automatic optimizations available.

Apply a list of automatic optimizations

Stylize

Adjust an ImgIX using Stylizations Check the ImgIX.Stylize module for all the stylizations available.

Apply a list of Stylizations

Text

Adjust an ImgIX using Text Check the ImgIX.Text module for all the text options available.

Apply a list of Text

Render

toUrl : ImgIX -> Url

Create a valid ImgIX url from an ImgIX type

toHtml : ImgIX -> Html msg

Render ImgIx as a Html img node

toHtmlWithAttributes : List (Attribute msg) -> ImgIX -> Html msg

Render ImgIx as a Html img node with a given list of Html.Attributes

Color

rgba : Float -> Float -> Float -> Float -> Color

Create a rgba color