[Pixelle-commit] SF.net SVN: pixelle:[295] trunk/pixelle/src/com/mebigfatguy/pixelle/ PixelleImage.
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2009-07-22 05:49:41
|
Revision: 295
http://pixelle.svn.sourceforge.net/pixelle/?rev=295&view=rev
Author: dbrosius
Date: 2009-07-22 05:49:39 +0000 (Wed, 22 Jul 2009)
Log Message:
-----------
use 1.0 for alpha selection for now, so we can see it.
Modified Paths:
--------------
trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleImage.java
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleImage.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleImage.java 2009-07-22 05:43:15 UTC (rev 294)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleImage.java 2009-07-22 05:49:39 UTC (rev 295)
@@ -48,7 +48,7 @@
byte[] alpha = new byte[] {0, -1};
IndexColorModel model = new IndexColorModel(1, 2, wb, wb, wb, alpha);
selection = new BufferedImage(image.getWidth(), image.getHeight(), BufferedImage.TYPE_BYTE_BINARY, model);
- composite = AlphaComposite.getInstance(AlphaComposite.XOR, 0.5f);
+ composite = AlphaComposite.getInstance(AlphaComposite.XOR, 1.0f);
Graphics g = selection.getGraphics();
g.setColor(Color.WHITE);
g.fillRect(0, 0, getWidth(), getHeight());
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|