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

com.github.azbh111.utils.java.image.val.ImageMetadata Maven / Gradle / Ivy

The newest version!
package com.github.azbh111.utils.java.image.val;

/**
 * @author: zyp
 * @date: 2020/6/28 9:44 下午
 */
public class ImageMetadata {
    private int width;
    private int height;
    private int channel;
    private String format;
    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public int getChannel() {
        return channel;
    }

    public void setChannel(int channel) {
        this.channel = channel;
    }

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    @Override
    public String toString() {
        return "ImageMetadata{" +
                "width=" + width +
                ", height=" + height +
                ", channel=" + channel +
                ", format='" + format + '\'' +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy