Image Rendering
The Author mode and the output transformation process might render the images referenced in an XML document differently, since they use different rendering engines.
| Image Type | Support | Additional Information |
|---|---|---|
| GIF | built-in | Animations not yet supported |
| JPG, JPEG | built-in | JPEG images with CMYK color profiles are properly rendered only if color profile is inside the image. |
| PNG | built-in | |
| SVG, SVGZ, WMF | built-in | Rendered using the open-source Apache Batik library that supports SVG 1.1. |
| BMP | built-in | |
| TIFF | built-in | Rendered using a part of the Java JAI Image library. |
| EPS | built-in | Renders the preview TIFF image inside the EPS. |
| AI | built-in | Renders the preview image inside the Adobe Illustrator file. |
| JPEG 2000, WBMP | plugin | Renders by installing the Java Advanced Imaging (JAI) Image I/O Tools plug-in. |
| CGM | plugin | Renders by installing an additional library. |
| plugin | Renders by installing the Apache PDF Box library. |
When an image cannot be rendered, Oxygen XML Editor
Author mode displays a warning message that contains the reason why
this is happening. Possible causes include the following:
- The image is too large. Enable the Show very large images option.
- The image format is not supported by default. It is recommended to install the Java Advanced Imaging(JAI) Image I/O Tools plug-in.
Scaling Images
Image dimension and scaling attributes are taken into account when an image is rendered.
The following rules apply:
- If you specify only the width attribute of an image, the height of the image is proportionally applied.
- If you specify only the height attribute of an image, the width of the image is proportionally applied.
- If you specify width and height attributes of an image, both of them control the rendered image.
- If you want to scale both the width and height of an image proportionally, use the scale attribute.
Note: As a Java application, Oxygen XML Editor uses the Java Advanced Imaging
API that provides a pluggable support for new image types. If you have an ImageIO
library that supports additional image formats, just copy this library to the [OXYGEN_INSTALL_DIR]/lib directory.