001    package railo.runtime.functions.image;
002    
003    
004    import railo.runtime.PageContext;
005    import railo.runtime.exp.PageException;
006    import railo.runtime.ext.function.Function;
007    import railo.runtime.img.Image;
008    
009    public class ImageRead implements Function {
010            
011            public static Object call(PageContext pc, Object source) throws PageException {
012                    return Image.createImage(pc, source, true, true,true);
013            }
014    }