Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 692 Bytes
import java.nio.channels.Channels
object KotlinRethumbHeightExample {
@JvmStatic fun main(args: Array<String>) {
val paramOperation = "height"
val paramValue = 100 // New height in pixels.
val imageURL = ""
val imageFilename = "resized-image.jpg"
val url = URL(String.format("", paramOperation, paramValue, imageURL))
val fos = FileOutputStream(imageFilename), 0, java.lang.Long.MAX_VALUE)
You can’t perform that action at this time.