Package railo.runtime.img

Examples of railo.runtime.img.Image.sharpen()


    if(name instanceof String) name=pc.getVariable(Caster.toString(name));
    Image img = Image.toImage(name);
   
    if (gain < -1.0 || gain > 2.0)
        throw new FunctionException(pc,"ImageSharpen",2,"gain","value must be between 1 and 2");
    img.sharpen((float)gain);
    return null;
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.