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

The rotation parameters allow you to change the orientation of your image, by either flipping along its axes or rotating around the center.

Rotation

The type of a Rotation

rotate : Int -> Rotation

Rotate your image by given degrees

Flip Axis

Combine both functions to flip along both axes.

Flip image vertically

Flip image horizontally

Orientation

Changes the cardinal orientation of the image by overriding any Exif orientation metadata.

By default, ImgIX automatically uses Exchangeable image file format (Exif) metadata present in the master image to orient your photos correctly. If your image does not contain Exif orientation data, we assume a value of 0 (North) and do not rotate the image.

Change the Exif orientation metadata to face North

Change the Exif orientation metadata to face East

Change the Exif orientation metadata to face South

Change the Exif orientation metadata to face West

Applying

toQueryParameters : List Rotation -> List QueryParameter

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