// Rewrite them as-is, since no conversion is needed.
Transformation transformation = new Transformation();
transformation.setType("Cropping");
transformation.addAttribute("top",
getParameterValue(ParameterNames.TOP_Y));
transformation.addAttribute("bottom",
getParameterValue(ParameterNames.BOTTOM_Y));