Index: magnolia-module-imaging/src/main/java/info/magnolia/imaging/operations/load/AbstractLoader.java =================================================================== --- magnolia-module-imaging/src/main/java/info/magnolia/imaging/operations/load/AbstractLoader.java (revision 31080) +++ magnolia-module-imaging/src/main/java/info/magnolia/imaging/operations/load/AbstractLoader.java Thu Jan 21 23:42:00 CET 2010 @@ -45,11 +45,11 @@ } public BufferedImage apply(BufferedImage source, P filterParams) throws ImagingException { - if (source != null) { - throw new ImagingException("This operation currently does not support overlaying images"); - } +// if (source != null) { +// throw new ImagingException("This operation currently does not support overlaying images"); +// } final BufferedImage loaded = loadSource(filterParams); - final BufferedImage img = new BufferedImage(loaded.getWidth(), loaded.getHeight(), BufferedImage.TYPE_INT_ARGB_PRE); + final BufferedImage img = source != null ? source : new BufferedImage(loaded.getWidth(), loaded.getHeight(), BufferedImage.TYPE_INT_ARGB_PRE); final Graphics2D g = img.createGraphics(); if (backgroundColor != null) {