Skip to main content
Version: API v2 Preview

ImageInfo

Kind: class
Module/package: com.pdfdancer.common.util
SDK: com.pdfdancer.client:pdfdancer-client-java 2.0.0

Immutable record containing comprehensive image file information. This record encapsulates image data, format details, and dimensional properties extracted from image files, providing all necessary information for PDF image integration and processing operations.

Declaration

public final class com.pdfdancer.common.util.ImageInfo

Members

constructor

public com.pdfdancer.common.util.ImageInfo(byte[], java.lang.String, int, int)

bytes

public byte[] bytes()

equals

public boolean equals(java.lang.Object)

format

public java.lang.String format()

hashCode

public int hashCode()

height

public int height()

read

public static com.pdfdancer.common.util.ImageInfo read(java.io.File) throws java.io.IOException

Reads and analyzes an image file to extract complete image information. This factory method processes an image file to determine its format, dimensions, and binary content, creating a complete ImageInfo record suitable for PDF integration operations.

toString

public java.lang.String toString()

width

public int width()

View source at 9c04036fe114