ImageInfo

org.matthicks.media4s.image.ImageInfo
case class ImageInfo(width: Int, height: Int, depth: Int, format: String, imageType: Option[ImageType], colorSpace: Option[String]) extends Size

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Size
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def isCMYK: Boolean

Inherited methods

Attributes

Inherited from:
Size
def cropToAspectRatio(aspectRatio: Double): Size

Attributes

Inherited from:
Size
def heightForWidth(width: Int): Int

Attributes

Inherited from:
Size
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def scaleUp(width: Option[Int], height: Option[Int]): Size

Attributes

Inherited from:
Size
def widthForHeight(height: Int): Int

Attributes

Inherited from:
Size

Inherited fields

lazy val aspectRatio: Double

Attributes

Inherited from:
Size
lazy val pixels: Int

Attributes

Inherited from:
Size