https://issues.apache.org/ooo/show_bug.cgi?id=121233

Andre <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #8 from Andre <[email protected]> ---
@Tomaž: Thanks for improving the bitmap resampling.
At first I wondered why you reimplemented the convolution but then I looked at
Bitmap::ImplConvolute3 in vcl/source/gdi/bitmap4.cxx an saw why.  Maybe we can
replace it with your code.

Two remarks:

1. At about line 25 of your patch there is a line
+        else if( BMP_SCALE_LANCZOS == nScaleFlag )
that exists twice (the copy is two lines down).

Remove the first to activate the Lanczos resampling.

2. In ImplScaleConvolution you are using an separable kernel.  If I understand
that method correctly then ImplConvolutionPass is used to do a horizontal
application of the two one-dimensional kernels.  For this to work the image has
to be transposed twice.  Either I am not understanding all this correctly or I
fail to see where the transposition takes places.  Can you explain what I am
missing?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to