summaryrefslogtreecommitdiff
path: root/padmin/prj
diff options
context:
space:
mode:
authorTomaz Vajngerl <quikee@gmail.com>2012-06-02 20:16:36 +0200
committerJan Holesovsky <kendy@suse.cz>2012-06-04 16:12:43 +0200
commit47e0df5cebc05576e55210c5dd408a6f3eb91700 (patch)
tree4c0db048267ba6064b1cea4915e81f6b381927e3 /padmin/prj
parent0b638638ef6e8c93318cb898ef8312e0e197b45e (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 'padmin/prj')
0 files changed, 0 insertions, 0 deletions