|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mebigfatguy.pixelle.PixelleTransformer
public class PixelleTransformer
transforms one bitmap into another based on the algorithms defined by the user.
Constructor Summary | |
---|---|
PixelleTransformer(PixelleImage[] images,
java.util.Map<PixelleComponent,java.lang.String> algos,
ImageType imageType,
java.awt.Point newDimension)
constructions a transformer given a source bitmap and algorithms |
Method Summary | |
---|---|
static java.util.Map<PixelleComponent,java.lang.String> |
getSampleTransform()
builds a sample set of algorithms that creates a 'pleasing' image |
PixelleImage |
transform()
transforms the image into a destination image based on the algorithms supplied. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PixelleTransformer(PixelleImage[] images, java.util.Map<PixelleComponent,java.lang.String> algos, ImageType imageType, java.awt.Point newDimension)
images
- the source imagesalgos
- the algorithms for the color componentsnewDimension
- the desired dimension of the output imageMethod Detail |
---|
public static java.util.Map<PixelleComponent,java.lang.String> getSampleTransform()
public PixelleImage transform() throws PixelleTransformException
PixelleTransformException
- if a failure occurs reading, writing or transforming
a bitmap
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |