commonMain.com.adamratzman.spotify.utils.IO.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spotify-api-kotlin-jvm Show documentation
Show all versions of spotify-api-kotlin-jvm Show documentation
A Kotlin wrapper for the Spotify Web API.
/* Spotify Web API, Kotlin Wrapper; MIT License, 2017-2021; Original author: Adam Ratzman */
package com.adamratzman.spotify.utils
internal expect fun encodeBufferedImageToBase64String(image: BufferedImage): String
internal expect fun convertFileToBufferedImage(file: File): BufferedImage
internal expect fun convertUrlPathToBufferedImage(url: String): BufferedImage
internal expect fun convertLocalImagePathToBufferedImage(path: String): BufferedImage