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

de.redsix.pdfcompare.ImageWithDimension Maven / Gradle / Ivy

Go to download

A simple Java library to compare two PDF files. Files are rendered and compared pixel by pixel.

There is a newer version: 1.2.3
Show newest version
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