Page 1 of 2

Bug with resizing with Lanczos and some other filters

Posted: Sun Oct 22, 2017 4:16 am
by michellekg
So, I'm resizing some images and there's awful bug appears - some kind of grid. It only appears on some images and only when I'm using Lanczos and other filters. Only Best interpolation and nearest neighbor works properly. What is it?

Here's example - original.jpg and scaled.jpg.

Re: Bug with resizing with Lanczos and some other filters

Posted: Sun Oct 22, 2017 10:21 am
by forum_adm
That is the way the lanczos and some other filters work.

Best interpolation is normally always the best for scaling the images.

Re: Bug with resizing with Lanczos and some other filters

Posted: Sun Oct 22, 2017 12:42 pm
by michellekg
forum_adm wrote: Sun Oct 22, 2017 10:21 am That is the way the lanczos and some other filters work.

Best interpolation is normally always the best for scaling the images.
Well, not really. I tried a bunch of other apps like XnView and GIMP - all of them produced normal clean images.

GC worked correctly too, as far as I remember - problems started with 10.5 or 10.4.

Sometimes grid appears on almost white backgrounds. It's absolutely incorrect.

Re: Bug with resizing with Lanczos and some other filters

Posted: Sun Oct 22, 2017 6:07 pm
by jamesk8752
The "grid bug" does not appear in this image viewed on my 27" iMac Retina 5K display.

Regards, Jim

Re: Bug with resizing with Lanczos and some other filters

Posted: Mon Oct 23, 2017 7:20 am
by forum_adm
But I did not touch that routines since version 8.

Re: Bug with resizing with Lanczos and some other filters

Posted: Wed Oct 25, 2017 9:19 am
by michellekg
jamesk8752 wrote: Sun Oct 22, 2017 6:07 pm The "grid bug" does not appear in this image viewed on my 27" iMac Retina 5K display.

Regards, Jim
Do you mean that you don't see grid on scaled.jpg? Or that you tried to scale and nothing happens?

Re: Bug with resizing with Lanczos and some other filters

Posted: Wed Oct 25, 2017 9:21 am
by michellekg
forum_adm wrote: Mon Oct 23, 2017 7:20 am But I did not touch that routines since version 8.
Maybe, but something's wrong anyways. Maybe some settings, I don't really know. Anyway, the app is unusable right now because of that bug. Using XnView for now and it's not that good in other aspects (

Re: Bug with resizing with Lanczos and some other filters

Posted: Wed Oct 25, 2017 3:56 pm
by jamesk8752
Michael, I don't see the grid on either version (original and rescaled) of the image. And I've never seen a grid an any image I've resized. I use Thorsten's "best interpolation" setting.

Regards, Jim

Re: Bug with resizing with Lanczos and some other filters

Posted: Thu Oct 26, 2017 11:09 am
by forum_adm
Please e-mail the original image zipped for testing to lemke@lemkesoft.de

Re: Bug with resizing with Lanczos and some other filters

Posted: Thu Oct 26, 2017 4:14 pm
by forum_adm
Also, please download the latest BETA build 2901.
I added a lot of internal optimizations:

http://www.lemkesoft.org/beta.html

Thorsten