org.mmbase.util.images
Class DummyImageConverter
java.lang.Object
org.mmbase.util.images.DummyImageConverter
- All Implemented Interfaces:
- ImageConverter
- public class DummyImageConverter
- extends Object
- implements ImageConverter
A 'Dummy' converter for converting images when Imagemagick and JAI are not available.
This class simply returns an image unchanged.
- Since:
- MMBase 1.6.3
- Version:
- $Id: DummyImageConverter.java,v 1.4 2005/10/05 10:02:55 michiel Exp $
- Author:
- Gerard van de Looi
|
Method Summary |
byte[] |
convertImage(byte[] input,
String sourceFormat,
List commands)
Call for converting a specified image (byte array) using a list of (string) commands
This dummy method ignores any passed commands, and simply returns the inputed list. |
void |
init(Map params)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DummyImageConverter
public DummyImageConverter()
init
public void init(Map params)
- Specified by:
init in interface ImageConverter
- See Also:
ImageConverter.init(Map)
convertImage
public byte[] convertImage(byte[] input,
String sourceFormat,
List commands)
- Call for converting a specified image (byte array) using a list of (string) commands
This dummy method ignores any passed commands, and simply returns the inputed list.
- Specified by:
convertImage in interface ImageConverter
- See Also:
ImageConverter.convertImage(byte[], String, List)
MMBase build 1.8.1.20060716