1 // Copyright 2003, FreeHEP.
2 package org.freehep.graphicsio;
3
4
5 import java.util.Properties;
6
7 import javax.imageio.ImageWriteParam;
8
9 /**
10 * This interface is to be implemented by sub classes of ImageWriteParam to make
11 * properties available to the ImageWriter as an ImageWriteParam object.
12 *
13 * @author Mark Donszelmann
14 * @version $Id: ImageParamConverter.java 8585 2006-08-11 17:39:56Z duns $
15 */
16 public interface ImageParamConverter {
17
18 /**
19 * Returns a subclass of ImageWriteParam with all the instance variable set
20 * according to the properties
21 */
22 public ImageWriteParam getWriteParam(Properties properties);
23 }