com.cloudinary

Transformation

Related Doc: package cloudinary

case class Transformation(transformations: List[Map[String, Any]] = List(Map[String, Any]())) extends Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Transformation
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Transformation(transformation: Transformation)

  2. new Transformation(transformations: List[Map[String, Any]] = List(Map[String, Any]()))

Value Members

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

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

    Definition Classes
    AnyRef → Any
  3. def /: Transformation

  4. def /(another: Transformation): Transformation

  5. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  6. def a_(value: String*): Transformation

  7. def a_(value: Int): Transformation

  8. def angle(value: String*): Transformation

    Rotate or flip an image by the given degrees or automatically according to its orientation or available meta-data.

    Rotate or flip an image by the given degrees or automatically according to its orientation or available meta-data. Multiple modes can be applied.

  9. def angle(value: Int): Transformation

    Rotate an image by the given degrees.

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def b_(value: String): Transformation

  12. def background(value: String): Transformation

    Defines the background color to use instead of transparent background areas when converting to JPG format.

  13. def bo_(width: Int, color: String): Transformation

  14. def border(width: Int, color: String): Transformation

    Add a solid border around the image.

  15. def c_(value: String): Transformation

  16. def chain(): Transformation

    Append a new transformation to the end

  17. def chain(another: Transformation): Transformation

    Chain another transformation

  18. def circled(): Transformation

    Make image completely circular or oval (ellipse).

  19. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. def colorSpace(value: String): Transformation

  21. def crop(value: String): Transformation

    A crop mode that determines how to transform the image for fitting into the desired width & height dimensions.

  22. def d_(value: String): Transformation

  23. def defaultImage(value: String): Transformation

    Specify the public ID of a place-holder image to use if the requested image or social network picture does not exist.

  24. def delay(value: Any): Transformation

  25. def density(value: Int): Transformation

    Control the density to use while converting a PDF document to images.

    Control the density to use while converting a PDF document to images. (range: 50-300, default: 150)

  26. def dl_(value: Any): Transformation

  27. def dn_(value: Int): Transformation

  28. def dpr(value: String): Transformation

  29. def dpr(value: Float): Transformation

  30. def dpr(value: Int): Transformation

    DPR - Device Pixel Ratio

  31. def e_(e: String, p: Any): Transformation

  32. def e_(value: String): Transformation

  33. def effect(e: String, p: Any): Transformation

  34. def effect(value: String): Transformation

    Apply a filter or an effect on an image.

    Apply a filter or an effect on an image. The value includes the name of the effect and an additional parameter that controls the behavior of the specific effect.

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

    Definition Classes
    AnyRef
  36. def f_(value: String): Transformation

  37. def fetchFormat(value: String): Transformation

    Force format conversion to the given image format for remote 'fetch' URLs that already have a different format as part of their URLs.

  38. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  39. def fl_(value: String*): Transformation

  40. def flags(value: String*): Transformation

    Set one or more flags that alter the default transformation behavior.

  41. def g_(value: String): Transformation

  42. def generate(options: Map[String, Any]): String

    Attributes
    protected
  43. def generate(): String

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

    Definition Classes
    AnyRef → Any
  45. def getPixelSize(key: String): Option[Int]

    Attributes
    protected
  46. def gravity(value: String): Transformation

    Decides which part of the image to keep while 'crop', 'pad' and 'fill' crop modes are used.

    Decides which part of the image to keep while 'crop', 'pad' and 'fill' crop modes are used. For overlays, this decides where to place the overlay.

  47. def h_(value: Double): Transformation

  48. def h_(value: Float): Transformation

  49. def h_(value: Int): Transformation

  50. def hasInt(transformation: Map[String, Any], key: String): Boolean

    Attributes
    protected
  51. def height(value: Double): Transformation

  52. def height(value: Float): Transformation

    The required height in percent (0.1 = 10%) of a transformed image or an overlay.

    The required height in percent (0.1 = 10%) of a transformed image or an overlay. Can be specified separately or together with the width value.

  53. def height(value: Int): Transformation

    The required height in pixels of a transformed image or an overlay.

    The required height in pixels of a transformed image or an overlay. Can be specified separately or together with the width value.

  54. def htmlHeight: Option[Int]

    Returns the detected height to be embedded in a HTML IMG tag based on transformation definitions alone

  55. def htmlWidth: Option[Int]

    Returns the detected width to be embedded in a HTML IMG tag based on transformation definitions alone

  56. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  57. def l_(value: String): Transformation

  58. def named(value: String*): Transformation

    Apply a pre-defined named transformation of the given name.

  59. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  60. def noHtmlSizes(transformation: Map[String, Any]): Boolean

    Attributes
    protected
  61. final def notify(): Unit

    Definition Classes
    AnyRef
  62. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  63. def o_(value: Int): Transformation

  64. def opacity(value: Int): Transformation

    Adjust opacity to the given percentage.

  65. def overlay(value: String): Transformation

    Add an overlay image over the base image.

    Add an overlay image over the base image. You can control the dimension and position of the overlay using the width, height, x, y and gravity parameters. The identifier can be a public ID of an uploaded image or a specific image kind, public ID and settings.

  66. def p_(value: String): Transformation

  67. def page(value: Int): Transformation

    Given a multi-page PDF document, generate an image of a single page using the given index.

  68. def param(key: String, value: Any): Transformation

    Attributes
    protected
  69. def pg_(value: Int): Transformation

  70. def prefix(value: String): Transformation

  71. def q_(value: Any): Transformation

  72. def quality(value: Any): Transformation

    Control the JPG compression quality.

    Control the JPG compression quality. 1 is the lowest quality and 100 is the highest. The default is the original image's quality or 90% if not available. Reducing quality generates JPG images much smaller in file size.

  73. def r_(value: Int): Transformation

  74. def radius(value: Int): Transformation

    Round the corners of an image.

  75. def rawTransformation(value: String): Transformation

  76. def responsiveWidth(value: Boolean): Transformation

    Sets explicitly whether this transformation has responsive width

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

    Definition Classes
    AnyRef
  78. def t_(value: String*): Transformation

  79. def transformation: Map[String, Any]

    Attributes
    protected
  80. val transformations: List[Map[String, Any]]

  81. def u_(value: String): Transformation

  82. def underlay(value: String): Transformation

    Add an underlay image below a base partially-transparent image.

    Add an underlay image below a base partially-transparent image. You can control the dimensions and position of the underlay using the width, height, x, y and gravity parameters. The identifier can be a public ID of an uploaded image or a specific image kind, public ID and settings.

  83. def w_(value: String): Transformation

  84. def w_(value: Double): Transformation

  85. def w_(value: Float): Transformation

  86. def w_(value: Int): Transformation

  87. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  90. def width(value: String): Transformation

    The required width in pixels of a transformed image or an overlay.

    The required width in pixels of a transformed image or an overlay. Can be specified separately or together with the height value.

  91. def width(value: Double): Transformation

  92. def width(value: Float): Transformation

    The required width in percent (0.1 = 10%) of a transformed image or an overlay.

    The required width in percent (0.1 = 10%) of a transformed image or an overlay. Can be specified separately or together with the height value.

  93. def width(value: Int): Transformation

    The required width in pixels of a transformed image or an overlay.

    The required width in pixels of a transformed image or an overlay. Can be specified separately or together with the height value.

  94. def x(value: Any): Transformation

    Horizontal position for custom-coordinates based cropping, overlay placement and certain region related effects.

  95. def x_(value: Any): Transformation

  96. def y(value: Any): Transformation

    Vertical position for custom-coordinates based cropping, overlay placement and certain region related effects.

  97. def y_(value: Any): Transformation

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped