Class PngImageInfo
java.lang.Object
org.apache.commons.imaging.ImageInfo
org.apache.commons.imaging.formats.png.PngImageInfo
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.commons.imaging.ImageInfo
ImageInfo.ColorType, ImageInfo.CompressionAlgorithm
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPngImageInfo
(String formatDetails, int bitsPerPixel, List<String> comments, ImageFormat format, String formatName, int height, String mimeType, int numberOfImages, int physicalHeightDpi, float physicalHeightInch, int physicalWidthDpi, float physicalWidthInch, int width, boolean progressive, boolean transparent, boolean usesPalette, ImageInfo.ColorType colorType, ImageInfo.CompressionAlgorithm compressionAlgorithm, List<PngText> textChunks, PhysicalScale physicalScale) -
Method Summary
Modifier and TypeMethodDescriptionPhysical scale of Image.Methods inherited from class org.apache.commons.imaging.ImageInfo
dump, getBitsPerPixel, getColorType, getComments, getCompressionAlgorithm, getFormat, getFormatDetails, getFormatName, getHeight, getMimeType, getNumberOfImages, getPhysicalHeightDpi, getPhysicalHeightInch, getPhysicalWidthDpi, getPhysicalWidthInch, getWidth, isProgressive, isTransparent, toString, toString, usesPalette
-
Field Details
-
textChunks
-
physicalScale
-
-
Constructor Details
-
PngImageInfo
PngImageInfo(String formatDetails, int bitsPerPixel, List<String> comments, ImageFormat format, String formatName, int height, String mimeType, int numberOfImages, int physicalHeightDpi, float physicalHeightInch, int physicalWidthDpi, float physicalWidthInch, int width, boolean progressive, boolean transparent, boolean usesPalette, ImageInfo.ColorType colorType, ImageInfo.CompressionAlgorithm compressionAlgorithm, List<PngText> textChunks, PhysicalScale physicalScale)
-
-
Method Details
-
getTextChunks
-
getPhysicalScale
Physical scale of Image.- Returns:
PhysicalScale
. If undefined thenPhysicalScale.UNDEFINED
is returned.
-