|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.sanselan.common.BinaryFileFunctions
org.apache.sanselan.common.BinaryFileParser
org.apache.sanselan.formats.transparencyfilters.TransparencyFilter
org.apache.sanselan.formats.transparencyfilters.TransparencyFilterGrayscale
public class TransparencyFilterGrayscale
Field Summary |
---|
Fields inherited from class org.apache.sanselan.formats.transparencyfilters.TransparencyFilter |
---|
bytes |
Fields inherited from class org.apache.sanselan.common.BinaryFileFunctions |
---|
debug |
Fields inherited from interface org.apache.sanselan.common.BinaryConstants |
---|
BYTE_ORDER_BIG_ENDIAN, BYTE_ORDER_INTEL, BYTE_ORDER_LEAST_SIGNIFICANT_BYTE, BYTE_ORDER_LITTLE_ENDIAN, BYTE_ORDER_LSB, BYTE_ORDER_MOST_SIGNIFICANT_BYTE, BYTE_ORDER_MOTOROLA, BYTE_ORDER_MSB, BYTE_ORDER_NETWORK |
Constructor Summary | |
---|---|
TransparencyFilterGrayscale(byte[] bytes)
|
Method Summary | |
---|---|
int |
filter(int rgb,
int index)
|
Methods inherited from class org.apache.sanselan.common.BinaryFileParser |
---|
byteArrayHasPrefix, convertByteArrayToInt, convertByteArrayToInt, convertByteArrayToShort, convertByteArrayToShort, getByteOrder, int2ToByteArray, read2Bytes, read3Bytes, read4Bytes, setByteOrder, setByteOrder |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransparencyFilterGrayscale(byte[] bytes) throws ImageReadException, java.io.IOException
ImageReadException
java.io.IOException
Method Detail |
---|
public int filter(int rgb, int index) throws ImageReadException, java.io.IOException
filter
in class TransparencyFilter
ImageReadException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |