Detailed reference of prototypes, properties and methods available in the
Javascript environment of your Helma web applications.

Methods of the helma.Image module.

To use this optional module, its repository needs to be added to the application, for example by calling app.addRepository('modules/helma/Image.js')
Methods
helma. Image(arg)
Returns an Image object, generated from the specified source.

If the JIMI package is installed, an instance of helma.image.jimi.JimiGenerator will be returned. Otherwise, if the javax.imageio package is available, an instance of helma.image.imageio.ImageIOGenerator is returned. Additionally, the class of the ImageGenerator implementation to be used can be set using the imageGenerator property in either the app.properties or server.properties file.
parameters
helma.File, java.io.File, String arg image source, filename or url
returns
a new Image object
see
helma.Image. getInfo(arg)
Returns an ImageInfo object for the specified image file.
parameters
helma.File, java.io.File, String arg image source, filename or url
returns
an ImageInfo object
see
helma.Image. spacer()
Writes a 1x1 pixel transparent spacer GIF image to the response buffer and sets the content type to image/gif.
Fri, 05 Feb 2010 17:40:05 GMT.

core framework

optional modules

java libraries

properties files