blob: 43c2eaca0f3382a9beea5382d730ea315be01c8b [file] [log] [blame]
<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<samples xmlns:xlink="http://www.w3.org/1999/xlink" name="ImageReader Samples">
<group name="Main examples page.">
<sample name="Back" href="..">to Cocoon examples main page</sample>
</group>
<group name="The Original">
<sample href="image" name="Image">
Image of original size and color.
</sample>
</group>
<group name="ImageReader - Size Scaling">
<sample href="image-size-50" name="Image 50x50">
Image scaled down to the size 50 x 50.
</sample>
<sample href="image-size-250" name="Image 250x250">
Image scaled up to the size 250 x 250.
</sample>
</group>
<group name="ImageReader - Grayscaling">
<sample href="image-grayscale" name="Image grayscaled">
The image in gray.
</sample>
</group>
<group name="ImageReader - Color Scaling">
<sample href="image-color-scale-2-1-1" name="Image tinted red">
The values for the color red are doubled.
</sample>
<sample href="image-color-scale-1-2-1" name="Image tinted green">
The values for the color green are doubled.
</sample>
<sample href="image-color-scale-1-1-2" name="Image tinted blue">
The values for the color blue are doubled.
</sample>
</group>
<group name="ImageReader - Color Offset">
<sample href="image-color-offset-50-0-0" name="Image tinted red">
The values for the color red are incremented by 50.
</sample>
<sample href="image-color-offset-0-50-0" name="Image tinted green">
The values for the color green are incremented by 50.
</sample>
<sample href="image-color-offset-0-0-50" name="Image tinted blue">
The values for the color blue are incremented by 50.
</sample>
</group>
<group name="Image Directory Generator">
<sample href="list" name="imagedirectory">
Read a directory, process images and find their attributes.
</sample>
</group>
</samples>