The Apache Software Foundation is proud to present...Version: 2.1.11

Image Effects Samples

Orthogonal views: Content   Pretty content   Links

Main examples page.

Back - to Cocoon examples main page

The Original

Image - Image of original size and color.

ImageReader - Size Scaling

Image Scaled - An PNG file is read from the system, scaled to half size and converted to JPG, which is returned to the client.
Image 50x50 - Image scaled down to the size 50 x 50.
Image 250x250 - Image scaled up to the size 250 x 250.
Image 50x100 - Image scaled along x-axis only.

ImageReader - Color Manipulation

Image grayscaled - The image in gray.
Image tinted red - The values for the color red are doubled.
Image tinted green - The values for the color green are doubled.
Image tinted blue - The values for the color blue are doubled.
Image tinted red - The values for the color red are incremented by 50.
Image tinted green - The values for the color green are incremented by 50.
Image tinted blue - The values for the color blue are incremented by 50.

ImageReader - Transforms

We provide the following transform samples as-is, but sadly they don't work satisfactorily. Your contribution to fix them will be greatly appreciated.

Image Rotate 90 degree - The image is rotated 90 degrees clockwise.
Image Rotate 180 degree - The image is rotated 180 degrees clockwise.
Image Rotate 270 degree - The image is rotated 270 degrees clockwise.
Image Mirrored Horizontally - The image is mirrored along the X-axis.
Image Mirrored Vertically - The image is mirrored along the Y-axis.

ImageReader - Visuals

Image Sharpened - The image is sharpened with a medium strength convolve operation.
Image Blurred - The image is blurred with a medium strength convolve operation.