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')
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
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
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
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
Writes a 1x1 pixel transparent spacer GIF image to the
response buffer and sets the content type to image/gif.