Representation representation =
ImageLoader.load(descriptor.getInputParameters().getParameterValue(ParameterNames.SOURCE_URL),
retriever, request, descriptor);
inputStream = new NoCloseSeekableInputStream(representation.getSeekableInputStream());
new PreservationParamsBuilder().process(request, descriptor);
// now get the input stream for the watermark image.
// @todo later this could probably be cached.
if (descriptor.getInputParameters().containsName(
ParameterNames.WATERMARK_URL)) {