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

com.applitools.eyes.ScaleProvider Maven / Gradle / Ivy

There is a newer version: 2.57
Show newest version
package com.applitools.eyes;

import java.awt.image.BufferedImage;

/**
 * Encapsulates scaling logic.
 */
interface ScaleProvider {
    /**
     *
     * @return The ratio by which an image will be scaled.
     */
    double getScaleRatio();

    /**
     *
     * @param image The image to scale.
     * @return A new scaled image.
     */
    BufferedImage scaleImage(BufferedImage image);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy