com.cloudinary

Transformation

case class Transformation(transformations: 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]] = ...)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def /: Transformation

  5. def /(another: Transformation): Transformation

  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. def a_(value: String*): Transformation

  9. def a_(value: Int): Transformation

  10. 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.

  11. def angle(value: Int): Transformation

    Rotate an image by the given degrees.

  12. final def asInstanceOf[T0]: T0

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

  14. def background(value: String): Transformation

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

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

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

    Add a solid border around the image.

  17. def c_(value: String): Transformation

  18. def chain(): Transformation

    Append a new transformation to the end

  19. def chain(another: Transformation): Transformation

    Chain another transformation

  20. def circled(): Transformation

    Make image completely circular or oval (ellipse).

  21. def clone(): AnyRef

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

  23. def crop(value: String): Transformation

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

  24. def d_(value: String): Transformation

  25. 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.

  26. def delay(value: Any): Transformation

  27. 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)

  28. def dl_(value: Any): Transformation

  29. def dn_(value: Int): Transformation

  30. def dpr(value: String): Transformation

  31. def dpr(value: Float): Transformation

  32. def dpr(value: Int): Transformation

    DPR - Device Pixel Ratio

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

  34. def e_(value: String): Transformation

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

  36. 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.

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

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

  39. 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.

  40. def finalize(): Unit

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

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

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

  43. def g_(value: String): Transformation

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

    Attributes
    protected
  45. def generate(): String

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

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

    Attributes
    protected
  48. 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.

  49. def h_(value: Double): Transformation

  50. def h_(value: Float): Transformation

  51. def h_(value: Int): Transformation

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

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

  54. def height(value: Float): Transformation

    The required height in percent (0.

    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.

  55. 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.

  56. def htmlHeight: Option[Int]

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

  57. def htmlWidth: Option[Int]

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

  58. final def isInstanceOf[T0]: Boolean

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

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

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

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

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

    Attributes
    protected
  63. final def notify(): Unit

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

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

  66. def opacity(value: Int): Transformation

    Adjust opacity to the given percentage.

  67. 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.

  68. def p_(value: String): Transformation

  69. def page(value: Int): Transformation

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

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

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

  72. def prefix(value: String): Transformation

  73. def q_(value: Any): Transformation

  74. 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.

  75. def r_(value: Int): Transformation

  76. def radius(value: Int): Transformation

    Round the corners of an image.

  77. def rawTransformation(value: String): Transformation

  78. def responsiveWidth(value: Boolean): Transformation

    Sets explicitly whether this transformation has responsive width

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

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

  81. def transformation: Map[String, Any]

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

  83. def u_(value: String): Transformation

  84. 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.

  85. def w_(value: String): Transformation

  86. def w_(value: Double): Transformation

  87. def w_(value: Float): Transformation

  88. def w_(value: Int): Transformation

  89. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  92. 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.

  93. def width(value: Double): Transformation

  94. def width(value: Float): Transformation

    The required width in percent (0.

    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.

  95. 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.

  96. def x(value: Any): Transformation

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

  97. def x_(value: Any): Transformation

  98. def y(value: Any): Transformation

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

  99. def y_(value: Any): Transformation

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped