View Source Eakins.Image.Display (eakins v0.0.1)

A displayable image instance When created with a Eakins.Image.Stored image, this module creates an image suitable for display via our image proxy.

Link to this section Summary

Link to this section Types

@type t() :: %Eakins.Image.Display{
  aspect: term(),
  content_type: String.t(),
  default?: boolean(),
  gravity: Eakins.gravity(),
  height: pos_integer(),
  key: Eakins.key(),
  original: Eakins.image(),
  uri: String.t(),
  width: pos_integer()
}

Link to this section Functions

Link to this function

new(image, aspect, named_height)

View Source