com.partnersoft.v3x.graphics.codec.png
Class PNGTransparentizer
java.lang.Object
com.partnersoft.v3x.graphics.codec.png.PNGTransparentizer
public class PNGTransparentizer
- extends java.lang.Object
this will go through a png and insert a trns chunk to make the first indexed
color transparent... this assumes that color 0 is black and will do nothing
but corrupt some other type of png...
|
Method Summary |
static void |
main(java.lang.String[] args)
|
static void |
transparentize(java.io.File filet)
|
static void |
transparentize(java.io.File source,
java.io.File destination)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PNGTransparentizer
public PNGTransparentizer()
main
public static void main(java.lang.String[] args)
transparentize
public static void transparentize(java.io.File filet)
throws java.io.IOException
- Throws:
java.io.IOException
transparentize
public static void transparentize(java.io.File source,
java.io.File destination)
throws java.io.IOException
- Throws:
java.io.IOException