// should try to crop the image.
ClipXY clipper = new ClipXY(firstImage.getWidth(), preserveXLeft, preserveXRight,
firstImage.getHeight(), ImageConstants.NO_CLIP_LEFT,
ImageConstants.NO_CLIP_RIGHT);
clipper.clipTo(newWidth, firstImage.getHeight());
params.setObject(ParameterNames.CLIP_AREA, clipper);
}
return super.process(images, params);
}