Skip to content

cloudinary/kotlin-transformation-builder-sdk

Repository files navigation

Cloudinary Kotlin Transformation Builder SDK

Build Status

About

This is an internal Cloudinary SDK. The Cloudinary Kotlin-Transformation-Builder-SDK allows you to generate transformations for Cloudinary_Kotlin.

Additional documentation

This Readme provides basic installation and usage information. For the complete documentation, see the Kotlin SDK Guide.

Table of Contents

Key Features

Version Support

SDK Version Kotlin Version
1.x > 1.0

Installation

Add the SDK to your project as a dependency, we recommend using a build management tool such as Maven or Gradle to do this.

Using Gradle:

Add the Cloudinary Kotlin SDK to the dependencies section of your build.gradle file.

implementation 'com.cloudinary:kotlin-transformation-builder-sdk:1.5.1'

Using Maven:

Add the Cloudinary Kotlin SDK to the list of dependencies in your pom.xml file.

<dependency>
  <groupId>com.cloudinary</groupId>
  <artifactId>kotlin-transformation-builder-sdk</artifactId>
  <version>1.5.1</version>
  <type>pom</type>
</dependency>

Usage

Transform and Optimize Assets

// Create your transformation
val transformation = resize(Resize.fill {
  width(100)
  height(150)
})

This will output the following: c_fill,h_150,w_100

Contributions

See contributing guidelines.

Get Help

If you run into an issue or have a question, you can either:

About Cloudinary

Cloudinary is a powerful media API for websites and mobile apps alike, Cloudinary enables developers to efficiently manage, transform, optimize, and deliver images and videos through multiple CDNs. Ultimately, viewers enjoy responsive and personalized visual-media experiences—irrespective of the viewing device.

Additional Resources

Licence

Released under the MIT license.