ImageService

Service for handling image operations including compression and multipart body creation.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun createMultipartBody(file: File): MultipartBody.Part

Creates a multipart body part from an image file for HTTP requests. The image is compressed before being converted to a multipart body.