de.redsix.pdfcompare.ImageWithDimension Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pdfcompare Show documentation
Show all versions of pdfcompare Show documentation
A simple Java library to compare two PDF files. Files are rendered and compared pixel by pixel.
package de.redsix.pdfcompare;
import java.awt.image.BufferedImage;
import java.util.Objects;
public class ImageWithDimension {
public final BufferedImage bufferedImage;
public final float width;
public final float height;
public ImageWithDimension(final BufferedImage bufferedImage, final float width, final float height) {
Objects.requireNonNull(bufferedImage, "bufferedImage was null");
this.bufferedImage = bufferedImage;
this.width = width;
this.height = height;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy