This repository has been archived by the owner on Mar 17, 2023. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Dear Icy masters,
Here is a pull request for filtering in canvas2d and canvasMap.
-Commit 629c5b2 enables bicubic interpolation on the canvas when the view is not moving.
-Commut 652ebf3 reduces the scale limit between nearest-neighbour and bicubic. Before, NR was used when the scale is larger than 400%. It is now used when the scale is larger than 300%. I find it clearer.
-Commits 83e1991 and 242ae87 add a downsampling step when the scale is smaller than 1. This removes aliasing artefacts. The downsampling is a high-quality Lanczos3 filter provided by a library named java-image-scaling. The correspoding jar has to be added to the build path ! It can be downloaded from there: http://code.google.com/p/java-image-scaling/
What do you think about these modifications ?
Timothée