uk.co.silentsoftware.core.converters.image
Class ErrorDiffusionConverterImpl

java.lang.Object
  extended by uk.co.silentsoftware.core.converters.image.ErrorDiffusionConverterImpl
All Implemented Interfaces:
ImageProcessor

public class ErrorDiffusionConverterImpl
extends java.lang.Object
implements ImageProcessor

An error diffusion dithering converter


Field Summary
private  ErrorDiffusionDitherStrategy previewModeStrategy
           
 
Constructor Summary
ErrorDiffusionConverterImpl()
           
ErrorDiffusionConverterImpl(ErrorDiffusionDitherStrategy previewModeStrategy)
           
 
Method Summary
 java.awt.image.BufferedImage convert(java.awt.image.BufferedImage original)
          Convert the original image to the output image
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

previewModeStrategy

private ErrorDiffusionDitherStrategy previewModeStrategy
Constructor Detail

ErrorDiffusionConverterImpl

public ErrorDiffusionConverterImpl(ErrorDiffusionDitherStrategy previewModeStrategy)

ErrorDiffusionConverterImpl

public ErrorDiffusionConverterImpl()
Method Detail

convert

public java.awt.image.BufferedImage convert(java.awt.image.BufferedImage original)
Description copied from interface: ImageProcessor
Convert the original image to the output image

Specified by:
convert in interface ImageProcessor
Returns: