All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.digitalcollections.turbojpeg.lib.structs.tjtransform Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 0.6.8
Show newest version
package de.digitalcollections.turbojpeg.lib.structs;

import jnr.ffi.Runtime;
import jnr.ffi.Struct;

public class tjtransform extends Struct {
  public tjregion r;
  public Signed32 op;
  public Signed32 options;
  public Pointer data;
  public Pointer customFilter;

  public tjtransform(Runtime runtime) {
    super(runtime);
    // NOTE: We run the initializers in the constructor since we need to access the runtime
    r = inner(new tjregion(runtime));
    op = new Signed32();
    options = new Signed32();
    data = new Pointer();
    customFilter = new Pointer();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy