OpenNumismat / ImageEditor

Simple image editor writen on PySide6
GNU General Public License v3.0
1 stars 0 forks source link

Better image visualization - smoothing/anti aliasing [Dev v0.6.2] #60

Open NEKolev opened 7 months ago

NEKolev commented 7 months ago

On the attached snapshot, I have shown how it looks in FastStone (the left image) and ImageEditor. The problem is most clearly seen in the details of the coat of arms. In FastStone, the details of the image are much clearer. The image is at 17%.

4lu7Fm7VQd

Original image: PR66_20954832_Max_test

NEKolev commented 6 months ago

Few more comparisons between the two programs (FastStone and ImageEditor v0.6.14) with different settings on FastStone.

Without Smooth Lanczos IVwbLwE8HG aOUQxaBvpa

Witch Smooth Lanczos ajPVWFxryo JJkg0NnYOg

It is clear that when there is Smoothing in the case with Lanczos, the image looks much better. As far as I read on the internet, there are different methods for appearance when enlarging/reducing an image. In my opinion, it is best to use the method with the best effect (slower and more resource-intensive), because it is unlikely that many images will be changed, and quality is most important.

https://www.abstractapi.com/guides/python-resize-image-numpy https://www.educative.io/blog/resize-an-image-using-opencv-in-python