The taglib is probably the most common way to use JMAGE in your webapp. It provides an easy way to access
all common filters, and also supports custom filters and chains if required. It was designed to seamlessly
replace the <img/>
tag in your jsp code.
For further details on jsp tags, click on their names in the list below.
Tag | Description |
---|---|
resize | High quality bicubic image resize filter for up or downscaling. |
extend | Extends the canvas of an image. |
crop | Crops an image to specified dimensions. |
rotate | Arbitrarily rotates an image and provides a choice of canvas extension. |
colorize | Overlays an image with a color filter, similar to colored, photograpic lenses. |
brighten | Brightens the image over the whole color spectrum with the percentage value supplied. |
darken | Darkens the image over the whole color spektrum with the percentage value supplied. |
greyscale | Desaturates the image, preserving luminance, but removing all color information. |
overlay | Overlays the image with another image. |
background | Puts a background image behind a specified image. |
text | Overlays the image with custom text. |
mean | Applies a digital mean filter, reducing sharpness |
blur | Applies a digital blur filter, reducing sharpness |
edge | Applies a digital edge enhancement filter, enhancing image contrast |
lowpass | Applies a digital lowpass filter, removing image detail. |
sharpen | Applies a digital sharpen filter. |
encode | Encodes the specified image without filtering it. |
chain | Invokes a customer filter chain on the image |