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 transparent GIF 9 */ 10 public class BackgroundImageGIFTransparent extends BackgroundImageJPG { 11 12 /*** 13 * Sets the properties 14 */ 15 public void setProperties() { 16 Properties props = new Properties(); 17 props.setProperty("IMAGE_URI", "file:///banner/eap_256.gif"); 18 request.setFilterChainProperties(props); 19 } 20 21 public void setImageURI() throws URISyntaxException { 22 request.setImageURI(new URI("file:///banner/50poff_128.png")); 23 } 24 25 public void setEncodingFormat() { 26 request.setEncodingFormat("gif"); 27 } 28 }