diff options
author | Tomaz Vajngerl <quikee@gmail.com> | 2012-06-02 20:16:36 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2012-06-04 16:12:43 +0200 |
commit | 47e0df5cebc05576e55210c5dd408a6f3eb91700 (patch) | |
tree | 4c0db048267ba6064b1cea4915e81f6b381927e3 /jvmfwk | |
parent | 0b638638ef6e8c93318cb898ef8312e0e197b45e (diff) |
fdo#46378: Lanczos3 resampling of images added to Bitmap.
Current resampling methods for images are FAST and INTERPOLATE.
FAST is used where speed of resampling is required, on the other
hand INTERPOLATE resampling is used when we need quality. For
example INTERPOLATE resampling method is used at PDF export.
INTERPOLATE resampling uses bilinear interpolation which is known
to be lower quality as other modern (and slower) resampling
algorithms such as Lanczos, Mitchell or BiCubic resampling.
This change adds Lanczos resampling to the Bitmap class and
enables Lanczos resampling in PDF export.
Lanczos3 resampling is implmented using separable convolution
with which it is also possible to easily add other resampling
methods like BiCubic just by changing the kernel function.
Change-Id: I8dff5b65753b09dffd5bc34f2343d9818efb3e58
Diffstat (limited to 'jvmfwk')
0 files changed, 0 insertions, 0 deletions