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

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

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