Layer effect anti-aliasing issue

Hier diskutieren die Betatester von PhotoLine untereinander und mit den Entwicklern
Benutzeravatar
Herbert123
Mitglied
Beiträge: 2140
Registriert: Sa 12 Mai 2012 21:38

Layer effect anti-aliasing issue

Beitrag von Herbert123 »

anti-aliasing_issue.png
When Special Emboss is applied in this example the anti-aliasing is rather problematic in the left top edge area. Applying a dark glow inside effect exacerbates the issue, resulting in too obvious aliased edges.

Ideally the anti-aliasing would be much less aliased looking :wink:

I've attached a demo file.
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
/*---------------------------------------------*/
System: Win10 64bit - i7 920@3.6Ghz, p6t Deluxe v1, 48gb (6x8gb RipjawsX), Nvidia GTX1080 8GB, Revodrive X2 240gb, e-mu 1820, 2XSamsung SA850 (2560*1440) and 1XHP2408H 1920*1200 portrait
Benutzeravatar
der_fotograf
Mitglied
Beiträge: 558
Registriert: Mo 05 Dez 2016 08:33

Re: Layer effect anti-aliasing issue

Beitrag von der_fotograf »

How does it look in print?
Nur wenige wissen, wie viel man wissen muss, um zu wissen, wie wenig man weiss.
Only few know how much you have to know to know how little you know.
— Werner Heisenberg [German theoretical physicist]
Benutzeravatar
Herbert123
Mitglied
Beiträge: 2140
Registriert: Sa 12 Mai 2012 21:38

Re: Layer effect anti-aliasing issue

Beitrag von Herbert123 »

I am unsure, but seeing print ink is more forgiving for these type of artefacts: probably not as bad.

That said, I mainly work on screen graphics nowadays. And this is quite visible.
/*---------------------------------------------*/
System: Win10 64bit - i7 920@3.6Ghz, p6t Deluxe v1, 48gb (6x8gb RipjawsX), Nvidia GTX1080 8GB, Revodrive X2 240gb, e-mu 1820, 2XSamsung SA850 (2560*1440) and 1XHP2408H 1920*1200 portrait
Benutzeravatar
shijan
Mitglied
Beiträge: 1497
Registriert: Mo 23 Dez 2019 15:21
Wohnort: Ukraine

Re: Layer effect anti-aliasing issue

Beitrag von shijan »

Well Herbert123, as it was confirmed by developers - Layer Styles (and i guess Light as a part of Layer Styles system) are raster-based and 8 bit only. In pair with low resolution image source this produce Banding and seems also edge Aliasing artifacts. 8 bit is just not precise enough for this sort of effects.
You may try to use higher resolution source, apply Style and then downscale final baked raster. But larger image will produce more banding :)
You may also adjust "Emboss - Border From" curve to give it more pixels on the edge.
Bild
Zuletzt geändert von shijan am Di 31 Aug 2021 13:07, insgesamt 1-mal geändert.
PhotoLine UI Icons Customization Project: https://www.pl32.com/forum3/viewtopic.php?f=3&t=6302
Benutzeravatar
shijan
Mitglied
Beiträge: 1497
Registriert: Mo 23 Dez 2019 15:21
Wohnort: Ukraine

Re: Layer effect anti-aliasing issue

Beitrag von shijan »

This checkbox seems may improve things a little bit:
Bild
PhotoLine UI Icons Customization Project: https://www.pl32.com/forum3/viewtopic.php?f=3&t=6302
Benutzeravatar
shijan
Mitglied
Beiträge: 1497
Registriert: Mo 23 Dez 2019 15:21
Wohnort: Ukraine

Re: Layer effect anti-aliasing issue

Beitrag von shijan »

And as expected worst case scenario is to use monochrome gradient. All artifacts became even more amplified when limited to 256 monochrome shades.
Adjusting source size and snapping it to pixel grid also don't fix edge artiafact.
Bild
PhotoLine UI Icons Customization Project: https://www.pl32.com/forum3/viewtopic.php?f=3&t=6302
Benutzeravatar
shijan
Mitglied
Beiträge: 1497
Registriert: Mo 23 Dez 2019 15:21
Wohnort: Ukraine

Re: Layer effect anti-aliasing issue

Beitrag von shijan »

And seems source of the problem - too extreme curve shape of Light source 2
Bild
PhotoLine UI Icons Customization Project: https://www.pl32.com/forum3/viewtopic.php?f=3&t=6302
Benutzeravatar
Herbert123
Mitglied
Beiträge: 2140
Registriert: Sa 12 Mai 2012 21:38

Re: Layer effect anti-aliasing issue

Beitrag von Herbert123 »

Thanks! I never bothered looking at the secondary light curves. It works much better now.

Still, it would great if the anti-aliasing wouldn't be affected that much by a lighting curve. Perhaps something for the devs to look into.

That said, the adjusted curve in combination with a slight Median filter applied yields a good result.

ex02.png
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
/*---------------------------------------------*/
System: Win10 64bit - i7 920@3.6Ghz, p6t Deluxe v1, 48gb (6x8gb RipjawsX), Nvidia GTX1080 8GB, Revodrive X2 240gb, e-mu 1820, 2XSamsung SA850 (2560*1440) and 1XHP2408H 1920*1200 portrait