T O P I C R E V I E W |
Krishley |
Posted - Feb 23 2013 : 11:48:02 Hello, I’m trying to do vignette effect with ImageEn but I’m getting a small problem. Ok so I have my image loaded in the control. The vignette is actually a separate PNG file (See Image 1).
I use ImageEnX1.LayersAdd3 PathToPNGFile to add the vignette as a layer over the image. So far everything works ok (See image 2).
The problem arises when I set the transparency of the vignette layer to a value lower than 255. It does not work correctly and a circle shape appears around the image (See image 3).
If I open the image in PhotoShop, add the vignette layer and set its transparency to say 70%, everything looks ok. (See image 4)
So you can see the difference. How can I get rid of that circular shape and make the transparency “smooth”?

Thanks, Krishley |
4 L A T E S T R E P L I E S (Newest First) |
fab |
Posted - Mar 18 2013 : 03:57:15 Hi, due the algorithm used to merge transparency with image alpha channel, this artifact cannot be avoided. Next minor version of ImageEn and IEvolution will use a better alpha blending algorithm that will solve this problem. |
xequte |
Posted - Mar 03 2013 : 11:57:17 Hi
Please send it to us at sales@xequte.com
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
Krishley |
Posted - Mar 01 2013 : 07:37:36 Hi Fabrizio, Thanks for your reply. Can you please give me your email address, i will send you a sample project with all the required files.
Thanks, Krishley |
fab |
Posted - Mar 01 2013 : 00:43:49 Please post the actual code you are using and if possible the same two PNG, so I can test them. |