Top Constructors Methods
org.apache.pdfbox.tools.imageio

pack-priv final Class JPEGUtil

extends Object
Class Inheritance
Imports
javax.imageio.metadata.IIOInvalidTreeException, .IIOMetadata, .IIOMetadataNode, org.w3c.dom.Element, .NodeList

Author
Tilman Hausherr

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv static void
updateMetadata(IIOMetadata
the meta data
metadata
,
int
the dpi
dpi
)

Set dpi in a JPEG file

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

JPEGUtilback to summary
private JPEGUtil()

Method Detail

updateMetadataback to summary
pack-priv static void updateMetadata(IIOMetadata metadata, int dpi) throws IIOInvalidTreeException

Set dpi in a JPEG file

Parameters
metadata:IIOMetadata

the meta data

dpi:int

the dpi

Exceptions
IIOInvalidTreeException:
if something goes wrong