
<fmm:MethodMap xmlns:fmm="http://fedora.comm.nsdlib.org/service/methodmap" name="Fedora MethodMap for Image Manipulation Servlet">
          <fmm:Method operationName="resizeImage">
            <fmm:UserInputParm defaultValue="150" parmName="width" passBy="VALUE" required="true"></fmm:UserInputParm>
          </fmm:Method>
          <fmm:Method operationName="zoomImage">
            <fmm:UserInputParm defaultValue="3" parmName="zoom" passBy="VALUE" required="true"></fmm:UserInputParm>
          </fmm:Method>
          <fmm:Method operationName="brightImage">
            <fmm:UserInputParm defaultValue="3.5" parmName="bright" passBy="VALUE" required="true"></fmm:UserInputParm>
          </fmm:Method>
          <fmm:Method operationName="watermarkImage">
            <fmm:UserInputParm defaultValue="Watermarked 2003" parmName="watermark" passBy="VALUE" required="true"></fmm:UserInputParm>
          </fmm:Method>
          <fmm:Method operationName="grayscaleImage"></fmm:Method>
          <fmm:Method operationName="cropImage">
            <fmm:UserInputParm defaultValue="30" parmName="x" passBy="VALUE" required="true"></fmm:UserInputParm>
            <fmm:UserInputParm defaultValue="100" parmName="y" passBy="VALUE" required="true"></fmm:UserInputParm>
            <fmm:UserInputParm defaultValue="" parmName="width" passBy="VALUE" required="false"></fmm:UserInputParm>
            <fmm:UserInputParm defaultValue="" parmName="height" passBy="VALUE" required="false"></fmm:UserInputParm>
          </fmm:Method>
          <fmm:Method operationName="convertImage">
            <fmm:UserInputParm defaultValue="gif" parmName="convertTo" passBy="VALUE" required="true">
              <fmm:ValidParmValues>
                <fmm:ValidParm value="jpg"></fmm:ValidParm>
                <fmm:ValidParm value="gif"></fmm:ValidParm>
                <fmm:ValidParm value="tiff"></fmm:ValidParm>
                <fmm:ValidParm value="png"></fmm:ValidParm>
                <fmm:ValidParm value="bmp"></fmm:ValidParm>
              </fmm:ValidParmValues>
            </fmm:UserInputParm>
          </fmm:Method>
        </fmm:MethodMap>
