All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.twelvemonkeys.servlet.image.package_info Maven / Gradle / Ivy

There is a newer version: 2.3
Show newest version
/**
 * Contains various image-outputting servlets, that should run under any servlet engine. To create your own image servlet, simply subclass the servlet
 * {@code ImageServlet}. Optionally implement the interface
 * {@code ImagePainterServlet}, if you want to do painting.
 * 

* Some of these methods may require use of the native graphics libraries * supported by the JVM, like the X libraries on Unix systems, and should be * run with JRE 1.4 or later, and with the option: *

*
{@code -Djawa.awt.headless=true}
*
* See the document * AWT Enhancements and bugtraq report * 4281163 for more information on this issue. *

* If you cannot use JRE 1.4 for any reason, or do not want to use the X * libraries, a possibilty is to use the * PJA package (com.eteks.pja), * and start the JVM with the following options: *

*
{@code -Xbootclasspath/a:<path to pja.jar>}
*
{@code -Dawt.toolkit=com.eteks.awt.PJAToolkit}
*
{@code -Djava.awt.graphicsenv=com.eteks.java2d.PJAGraphicsEnvironment}
*
{@code -Djava.awt.fonts=<path where True Type fonts files will be loaded from>}
*
*

* Please note that creation of PNG images (from bytes or URL's) are only * supported in JRE 1.3 and later, trying to load them from an earlier version, * will result in errors. * * @see com.twelvemonkeys.servlet.image.ImageServlet * @see com.twelvemonkeys.servlet.image.ImagePainterServlet */ package com.twelvemonkeys.servlet.image;





© 2015 - 2025 Weber Informatics LLC | Privacy Policy