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

com.drew.imaging.png.PngChunk Maven / Gradle / Ivy

Go to download

Java library for extracting EXIF, IPTC, XMP, ICC and other metadata from image and video files.

There is a newer version: 2.19.0
Show newest version
package com.drew.imaging.png;

import com.drew.lang.annotations.NotNull;

/**
 * @author Drew Noakes https://drewnoakes.com
 */
public class PngChunk
{
    @NotNull
    private final PngChunkType _chunkType;
    @NotNull
    private final byte[] _bytes;

    public PngChunk(@NotNull PngChunkType chunkType, @NotNull byte[] bytes)
    {
        _chunkType = chunkType;
        _bytes = bytes;
    }

    @NotNull
    public PngChunkType getType()
    {
        return _chunkType;
    }

    @NotNull
    public byte[] getBytes()
    {
        return _bytes;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy