🔀 Merge branch 'release/v82'
[Sone.git] / sone / core / ImageLoader.kt
1 package net.pterodactylus.sone.core
2
3 /**
4  * Component that loads images and supplies information about them.
5  */
6 interface ImageLoader {
7
8         fun toLoadedImage(link: String): LoadedImage?
9
10 }
11
12 data class LoadedImage(val link: String, val mimeType: String, val width: Int, val height: Int)