de.digitalcollections.turbojpeg.lib.enums.TJSAMP 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.lib.enums;
import jnr.ffi.util.EnumMapper.IntegerEnum;
public enum TJSAMP implements IntegerEnum {
TJSAMP_444(0),
TJSAMP_422(1),
TJSAMP_420(2),
TJSAMP_GRAY(3),
TJSAMP_440(4);
private final int val;
TJSAMP(int val) {
this.val = val;
}
@Override
public int intValue() {
return val;
}
}