Packages

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

Type Members

  1. case class ConvertImage(name: Option[String], baseName: String, format: String, formatDescription: String, mimeType: Option[String], geometry: ConvertImageGeometry, colorspace: Option[String], depth: Int, baseDepth: Int, pixels: Long) extends Product with Serializable
  2. case class ConvertImageGeometry(width: Int, height: Int, x: Int, y: Int) extends Product with Serializable
  3. case class ConvertResult(image: ConvertImage) extends Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addWatermark(input: File, output: File, overlayPath: String, gravity: String = "center"): Unit
  5. def applyCMYKConversion(op: IMOperation): IMOps
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. def destinationType(gaussianBlur: Double, quality: Double): ImageType

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

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. 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

    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.

  12. def generateGIFCropped(input: File, output: File, width: Int, height: Int): Unit
  13. 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

    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

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

    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

  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. var iccProfiles: String
  18. def info(file: File): ImageInfo
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def pngToJpg(input: File, output: File): Unit
  24. def saveBase64(base64: String, file: File): Unit

    Takes a base64 encoded String and outputs it to the file specified as a proper binary representation.

    Takes a base64 encoded String and outputs it to the file specified as a proper binary representation.

    base64

    the base64 encoded image

    file

    the binary file to output to

  25. def scaleUp(imageInfo: ImageInfo, minWidth: Int, minHeight: Int): ImageInfo
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped