object ImageUtility
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ImageUtility
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def drawToCanvas(source: |[Image, Canvas], destination: Canvas, resizer: ImageResizer)(offsetX: Double = 0.0, offsetY: Double = 0.0, width: Double = source.asInstanceOf[html.Image].width, height: Double = source.asInstanceOf[html.Image].height): Future[Canvas]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def generatePreview(file: File, width: Double, height: Double, scaleUp: Boolean = false): Future[Option[String]]
Supports a Video or Image file and generates a smooth image preview for it.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def loadImage(img: Image): Future[Image]
- def loadImage[R](file: File)(process: (Image) => Future[R]): Future[R]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def preview(file: File, width: Double, height: Double, scaleUp: Boolean): Future[Option[Image]]
- def preview(file: File): Future[Option[Image]]
- def resizeToDataURL(source: |[Image, Canvas], width: Double, height: Double, resizer: ImageResizer): Future[String]
- def resizeToImage(source: |[Image, Canvas], width: Double, height: Double, destination: Image, resizer: ImageResizer): Future[Image]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toDataURL(img: Image): Future[String]
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()