public class WorkProcessor
extends java.lang.Object
| Constructor and Description |
|---|
WorkProcessor()
Main work processor constructor used for actual results
|
WorkProcessor(DitherStrategy dither)
Preview constructor for when we need a result from a given
dither strategy as opposed to that selected in options
|
| Modifier and Type | Method and Description |
|---|---|
ResultImage[] |
convertImage(java.awt.image.BufferedImage original)
Converts the given image to the to a "Spectrumified" format
which is returned as a BufferedImage.
|
(package private) byte[] |
convertScreen(java.awt.image.BufferedImage original)
Converts the given image to the SCR (SCREEN) format,
optionally saves the file to disk and wraps any errors
during conversion and shows them as a UI dialog message.
|
java.awt.image.BufferedImage |
preProcessImage(java.awt.Image original,
ScalingObject scaling)
Pre processes the given bufferedimage applying the given scaling
and the specified option set contrast, saturation and brightness
|
public WorkProcessor()
public WorkProcessor(DitherStrategy dither)
dither - byte[] convertScreen(java.awt.image.BufferedImage original)
original - isAlreadyImageProcessed - public ResultImage[] convertImage(java.awt.image.BufferedImage original)
original - public java.awt.image.BufferedImage preProcessImage(java.awt.Image original,
ScalingObject scaling)
original - scaling -