Package pixy.image.png
Class Filter
java.lang.Object
pixy.image.png.Filter
public class Filter
extends java.lang.Object
PNG scan line filter
- Version:
- 1.0 04/29/2013
- Author:
- Wen Yu, yuwen_66@yahoo.com
-
Field Summary
-
Method Summary
Modifier and Type Method Description static void
defilter_average(int bytesPerPixel, int bytesPerScanLine, byte[] sample, int offset)
static void
defilter_paeth(int bytesPerPixel, int bytesPerScanLine, byte[] sample, int offset)
static void
defilter_sub(int bytesPerPixel, int bytesPerScanLine, byte[] sample, int offset)
static void
defilter_up(int bytesPerScanLine, byte[] sample, int offset)
static void
filter_average(int bytesPerPixel, int bytesPerScanLine, byte[] sample, int offset)
static void
filter_paeth(int bytesPerPixel, int bytesPerScanLine, byte[] sample, int offset)
static void
filter_sub(int bytesPerPixel, int bytesPerScanLine, byte[] sample, int offset)
static void
filter_up(int bytesPerScanLine, byte[] sample, int offset)
-
Field Details
-
NONE
public static final int NONE- See Also:
- Constant Field Values
-
SUB
public static final int SUB- See Also:
- Constant Field Values
-
UP
public static final int UP- See Also:
- Constant Field Values
-
AVERAGE
public static final int AVERAGE- See Also:
- Constant Field Values
-
PAETH
public static final int PAETH- See Also:
- Constant Field Values
-
-
Method Details
-
defilter_average
public static void defilter_average(int bytesPerPixel, int bytesPerScanLine, byte[] sample, int offset) -
defilter_paeth
public static void defilter_paeth(int bytesPerPixel, int bytesPerScanLine, byte[] sample, int offset) -
defilter_sub
public static void defilter_sub(int bytesPerPixel, int bytesPerScanLine, byte[] sample, int offset) -
defilter_up
public static void defilter_up(int bytesPerScanLine, byte[] sample, int offset) -
filter_average
public static void filter_average(int bytesPerPixel, int bytesPerScanLine, byte[] sample, int offset) -
filter_paeth
public static void filter_paeth(int bytesPerPixel, int bytesPerScanLine, byte[] sample, int offset) -
filter_sub
public static void filter_sub(int bytesPerPixel, int bytesPerScanLine, byte[] sample, int offset) -
filter_up
public static void filter_up(int bytesPerScanLine, byte[] sample, int offset)
-