|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdeadbeef.Filters.FilterOp
public class FilterOp
Subsampling scaling algorithm with various filters.
Based on the ResampleOp class from the Java Image Scaling Library. by Morten Nobel-Joergensen which again is based on "Java Image Util".
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program. If not, see here.
| Constructor Summary | |
|---|---|
FilterOp()
|
|
| Method Summary | |
|---|---|
int[] |
filter(Bitmap src,
Palette pal,
int w,
int h)
|
Filter |
getFilter()
Get current filter |
void |
setFilter(Filter filter)
Set current filter |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FilterOp()
| Method Detail |
|---|
public Filter getFilter()
public void setFilter(Filter filter)
filter - Filter
public int[] filter(Bitmap src,
Palette pal,
int w,
int h)
src - Source bitmappal - Palettew - Destination widthh - Destination height
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||