MediaType

org.llm4s.imageprocessing.MediaType
See theMediaType companion trait
object MediaType

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
MediaType.type

Members list

Type members

Classlikes

case object Bmp extends MediaType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait MediaType
class Object
trait Matchable
class Any
Show all
Self type
Bmp.type
case object Gif extends MediaType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait MediaType
class Object
trait Matchable
class Any
Show all
Self type
Gif.type
case object Jpeg extends MediaType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait MediaType
class Object
trait Matchable
class Any
Show all
Self type
Jpeg.type
case object Png extends MediaType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait MediaType
class Object
trait Matchable
class Any
Show all
Self type
Png.type
case object Tiff extends MediaType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait MediaType
class Object
trait Matchable
class Any
Show all
Self type
Tiff.type
case object WebP extends MediaType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait MediaType
class Object
trait Matchable
class Any
Show all
Self type
WebP.type

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def fromExtension(extension: String): MediaType

Detect media type from file extension.

Detect media type from file extension.

Attributes

def fromPath(imagePath: String): MediaType

Detect media type from file path.

Detect media type from file path.

Attributes