1 package org.jmage.filter.merge; 2 3 import java.net.URI; 4 import java.net.URISyntaxException; 5 import java.util.Properties; 6 7 /*** 8 * Test BackgroundImageFilter with PNG 9 */ 10 public class BackgroundImagePNG extends BackgroundImageJPG { 11 12 public void setProperties() { 13 Properties props = new Properties(); 14 props.setProperty("IMAGE_URI", "file:///sample/jmage_inaction.png"); 15 request.setFilterChainProperties(props); 16 } 17 18 public void setImageURI() throws URISyntaxException { 19 request.setImageURI(new URI("file:///sample/june_vase_small.jpg")); 20 } 21 22 public void setEncodingFormat() { 23 request.setEncodingFormat("png"); 24 } 25 }