ar.com.hjg.pngj.test
Class SampleDecreaseRed

java.lang.Object
  extended by ar.com.hjg.pngj.test.SampleDecreaseRed

public class SampleDecreaseRed
extends Object

Example: decreases the red channel by half, increase the green by 20. Only for RGB


Constructor Summary
SampleDecreaseRed()
           
 
Method Summary
static void convert(String origFilename, String destFilename)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SampleDecreaseRed

public SampleDecreaseRed()
Method Detail

convert

public static void convert(String origFilename,
                           String destFilename)

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception