Object

org.matthicks.media4s.image

ImageUtil

Related Doc: package image

Permalink

object ImageUtil

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

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addWatermark(input: File, output: File, overlayPath: String, gravity: String = "center"): Unit

    Permalink
  5. def applyCMYKConversion(op: IMOperation): IMOps

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def destinationType(gaussianBlur: Double, quality: Double): ImageType

    Permalink

    Given a gaussian blur and image quality parameter, determines if a JPEG or PNG output is needed.

  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def generateCropped(input: File, output: File, outputType: ImageType, width: Int, height: Int, strip: Boolean = true, gaussianBlur: Double = 0.0d, quality: Double = 0.0d, flatten: Boolean = true, isCMYK: Boolean = false): Unit

    Permalink

    Generates an image completely filling the provided dimensions.

    Generates an image completely filling the provided dimensions.

    A Vector image is not re-sized this way, but this method could be called to produce a rasterized version of a vector graphic for use as a library search results image.

  13. def generateGIFCropped(input: File, output: File, width: Int, height: Int): Unit

    Permalink
  14. def generateResized(input: File, output: File, width: Option[Int] = None, height: Option[Int] = None, strip: Boolean = true, gaussianBlur: Double = 0.0, quality: Double = 0.0, isCMYK: Boolean = false): Unit

    Permalink

    Resizes the supplied file with adaptive resizing based on the supplied width and/or height values.

    Resizes the supplied file with adaptive resizing based on the supplied width and/or height values.

    input

    the original file to resize

    output

    generated image

    width

    the width value option

    height

    the height value option

  15. def generateThumbnail(input: File, output: File, width: Int, height: Int, isCMYK: Boolean = false): Unit

    Permalink

    Generates a thumbnail of the specified image file at the supplied width and height.

    Generates a thumbnail of the specified image file at the supplied width and height. The aspect ratio will be maintained and the outer extents will be transparent in the generated PNG.

    input

    Original image to generate a thumbnail from

    output

    Generated image

    width

    Thumbnail width

    height

    Thumbnail height

  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. var iccProfiles: String

    Permalink
  19. def info(file: File): ImageInfo

    Permalink
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. def pngToJpg(input: File, output: File): Unit

    Permalink
  25. def scaleUp(imageInfo: ImageInfo, minWidth: Int, minHeight: Int): ImageInfo

    Permalink
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped