Made loading images via Image I/O more robust: A PNG with a zero resolution should fall back to the default resolution. JPEGPreloader: Fixed interpretation of JPEG resolution when "dots per centimeter" is specified. XMP framework: Added support for the structure property shorthand form and for specifying simple property values as attributes on rdf:Description elements. Added RefinedImageFlavor to the image loading framework for better refinement of image flavors. Bugfix: Added missing start/endPrefixMapping() calls when serializing XMP packets. Made file URLs with a host (as happens when using UNC paths) work when loading images. Bugfix for classpath resources: the code doesn't just check the system class loader anymore. Bugfix for a potential multi-threading issue concerning the use of the java.text package. Added fallbacks for Type 1 fonts which don't have the normal "one", "two" etc. glyphs, but actually only provide "oneoldstyle", "twooldstyle" etc. Bugfix for extracting ICC color profiles from JPEG images. Added an image loader for XML Graphics Commons' internal TIFF codec. Fixed two cases of unclosed input streams in image loader code. Bugfix for unhandled NumberFormatException in Glpyhs when a unknown glyph name starting with "u" is found. Bugfix for ImageEncodingHelper which produced false results if an image's sample model used BGR instead of RGB. Added image processing hints to ignore an optionally embedded color profile in JPEG images. Fixed behaviour for the cases where a corrupt PNG image is encountered. Bugfix for EOFException when pre-loading very small PNG images (file size < 88 bytes). Support for Java 1.3 has been dropped. Java 1.4 or later is required now. Image Loading: Support for passing in SAXSource instance. Bugfix for ISO 8601 date formatting with negative time zones in the XMP package. The package org.apache.xmlgraphics.image.loader was added. It contains a general image loading framework for various image formats (bitmap & vector). XMP: Added support for structured properties. Bugfix for XMP serialization: arrays with only one entry were serialized as simple property which could lead to information loss for merge operations. PostScript: Improved PSImageUtils by introducing the ImageEncoder interface and allowing for streams instead of byte arrays for data transfer which can lower memory consumption. PostScript: Fixed %%EOF checking for nested documents. PostScript: Improved robustness of DSC parsing (multi-line comments with no value on the first line don't cause crashes anymore, fallback for unparsable DSC comments). PostScript: Added classes for "BoundingBox" DSC comments. Fixed a possible NPE in the TIFF codec (in the TIFFImage constructor). Added support for classpath resources (find files in JAR files in the classpath using their MIME type) Application of the patch in Bugzilla 43069: New Macro safe-set-page-device which guards against the possibility of invalid/unsupported postscript key/values being issued to the implementing postscript page device Fixed literal text string escaping in PSGenerator. Some characters were not properly escaped. Added support for CMYK and GRAY color spaces for PSGenerator (moved there from PSGraphics2D). Fixed the PDF/A namespace according to ISO-19005-1:2005/Cor.1:2007 and deprecated the use of the draft PDF/A namespace used by Adobe Acrobat 7.x. Added the start of an XMP metadata framework. Various fixes and improvements in the ImageWriter abstraction. ImageWriter abstraction now supports writing multi-page formats like TIFF. ImageWriter implementation for TIFF output using Image I/O API. Default implementation for AbstractGraphics2D.drawText(ACI, float, float) so PSGraphics2D supports painting text using the AttributedCharacterIterator. Bugfix: The generation of the PostScript setdash command was assuming that only integer values can be used but that isn't the case. Initial release with several components from Batik and FOP: Image codecs, Image writer abstraction, I/O classes, Java2D helpers, PostScript library with Graphics2D implementation. Complete the move of the PDF and font library code her from FOP.