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