Page 1 of 1

How to improve shadow rendering

Posted: Tue Mar 31, 2020 4:35 pm
by jgkoehn
Greetings Sergey,
How can I improve the shadow rendering quality behind an image.
(Also can I possibly improve image sharpness/smoothness?)
RVF 18.3 show this:
RVF-shadow.jpg
RVF-shadow.jpg (166.28 KiB) Viewed 15080 times
Original is more like this:
WordPad-shadow.jpg
WordPad-shadow.jpg (98.42 KiB) Viewed 15080 times

Re: How to improve shadow rendering

Posted: Tue Mar 31, 2020 4:59 pm
by Sergey Tkachenko
What's the image format? Please send me this image, or this RVF file.

Re: How to improve shadow rendering

Posted: Tue Mar 31, 2020 5:06 pm
by jgkoehn
I see you already answered this here: https://www.trichview.com/forums/viewtopic.php?t=89

We are still playing with it but this seems to help a lot. (I'm using Delphi7)

Re: How to improve shadow rendering

Posted: Wed Apr 01, 2020 7:02 am
by Sergey Tkachenko
Is this picture scaled?
In the current version of TRichView, the components provide smooth scaling of images, but only for opaque images.
If the image is semitransparent (it looks like your image is a PNG image with alpha channel, am I right?), TRichView uses the standard image scaling (the image is drawn using PngImage.StretchDraw).