Quick Tip : Compressing an image file on server using Scala
Here is the simple approach for compressing an image file on server using Scala.
[code language=”scala”]
import java.io.FileInputStream
import javax.imageio.ImageIO
import java.io.File
import…