[Pixelle-commit] SF.net SVN: pixelle:[172] trunk/pixelle/src/com/mebigfatguy/pixelle/ PixelleEvalFa
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2008-11-14 04:51:13
|
Revision: 172
http://pixelle.svn.sourceforge.net/pixelle/?rev=172&view=rev
Author: dbrosius
Date: 2008-11-14 04:51:08 +0000 (Fri, 14 Nov 2008)
Log Message:
-----------
try to render custom images
Modified Paths:
--------------
trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleEvalFactory.java
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleEvalFactory.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleEvalFactory.java 2008-11-14 04:50:39 UTC (rev 171)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleEvalFactory.java 2008-11-14 04:51:08 UTC (rev 172)
@@ -23,6 +23,7 @@
import com.mebigfatguy.pixelle.eval.PixelleEval3ByteBGR;
import com.mebigfatguy.pixelle.eval.PixelleEval4ByteABGR;
import com.mebigfatguy.pixelle.eval.PixelleEvalByteGray;
+import com.mebigfatguy.pixelle.eval.PixelleEvalCustom;
import com.mebigfatguy.pixelle.eval.PixelleEvalIntARGB;
import com.mebigfatguy.pixelle.eval.PixelleEvalIntBGR;
import com.mebigfatguy.pixelle.eval.PixelleEvalIntRGB;
@@ -90,7 +91,7 @@
return new PixelleEvalIntRGB(image, ioobOption, coobOption);
case BufferedImage.TYPE_CUSTOM:
- throw new IllegalArgumentException("Image type: " + image.getType() + " (Custom) is not supported yet.");
+ return new PixelleEvalCustom(image, ioobOption, coobOption);
}
throw new IllegalArgumentException("Unknown image type: " + image.getType());
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|