Packages

o

io.archivesunleashed.matchbox

ExtractImageDetails

object ExtractImageDetails

Extracts image details given raw bytes.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExtractImageDetails
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def apply(url: String, mimeType: String, bytes: Array[Byte]): ImageDetails

    bytes

    the raw bytes of the image

    returns

    A tuple containing the width and height of the image