de.digitalcollections.turbojpeg.imageio.TurboJpegImageWriteParam Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of imageio-turbojpeg Show documentation
Show all versions of imageio-turbojpeg Show documentation
ImageIO plugin for reading and writing JPEG images via libjpeg-turbo/turbojpeg.
Requires the libjpeg-turbo and turbojpeg shared native libraries to be installed on the system.
package de.digitalcollections.turbojpeg.imageio;
import javax.imageio.ImageWriteParam;
public class TurboJpegImageWriteParam extends ImageWriteParam {
@Override
public boolean canWriteCompressed() {
return true;
}
@Override
public boolean isCompressionLossless() {
return false;
}
}