else if("bicubic".equals(strInterpolation)) interpolation = RenderingHints.VALUE_INTERPOLATION_BICUBIC;
else throw new FunctionException(pc,"ImageTranslate",4,"interpolation","invalid interpolation definition ["+strInterpolation+"], " +
"valid interpolation values are [nearest,bilinear,bicubic]");
img.translate((int)xTrans, (int)yTrans,interpolation);
return null;
}
}