327328329330331332333334335336337
// Set image width image.setWidth(getIntParameterValue(ParameterNames.IMAGE_WIDTH, 0)); // Set image transformations Transformations transformations = getTransformations(); if (null != transformations) { image.setTransformations(transformations); }
370371372373374375376377378379380
* * @param prefix prefix of parameter where parameter can be found. * @return transformations model object. */ private Transformations getTransformations() throws ConverterException { Transformations transformations = new Transformations(); addCroppingTransformation(transformations); return transformations; }