* @param params A valid Map object, or a null.
* @return A valid instance of an implementation of a IBufferedImageFactory.
*/
protected IBufferedImageFactory getBufferedImageFactory(final Map<String, Object> params) {
if (params == null) {
return new SimpleBufferedImageFactory();
}
final IBufferedImageFactory result = (IBufferedImageFactory) params
.get(ImagingConstants.BUFFERED_IMAGE_FACTORY);
if (null != result) {
return result;
}
return new SimpleBufferedImageFactory();
}