Sphinx.
![]() |
In relation to this discussion here is a specific bug report.
When rendering mixed transparency filters, color bleeding from 100% transparent areas in the input image occurs when anti-alias process kicks in. The attached filter expose the problem: 1. New Image with background color ARGB = 0,0,0,0 2. Render filter 3. Inspect ellipse edges - there is black mixed into the edge region.. AFAIK, there is no way to get around this in Filter Forge alone. Another perspective on the problem: A filter sample output value of ARGB = 0,1,2,3 is a valid output, but there is no possible way to save that to a file, since FF will "blend" the result onto the preinitialized image background. To verify this, use the attached filter, save the output to a format that supports alpha, reload it in Filter Forge and reset the alpha channel to 100% opaque using Set Alpha. You will now see the color from "New Image.." Fringe Problem 1.ffxml |
|||
Posted: November 4, 2010 5:48 am | ||||
Sphinx.
![]() |
Attached is an image showing the fringe problem. To see the effect more clearly try saving the output of the filter above, open it in Filter Forge and blend it onto a white background.
![]() |
|||
Posted: November 4, 2010 5:49 am | ||||
Sphinx.
![]() |
Second thoughts: I'm not so sure about the validity of that statement, however colors from zero alpha samples should never influence the outcome of an operation. Zero alpha means that the color is not visible. I created a script that do anti-aliasing correctly, let me know if you're interested. |
|||
Posted: November 4, 2010 6:53 am | ||||
Sphinx.
![]() |
I found a workaround that works with mixed edge colors. The Image component need to be present in the filter, then you have control over the content of fully transparent areas. Simply place a Switch somewhere, hook up your filter chain so it goes through 1 all the time (i.e. no switching takes place) and then connect the Image to one of the other inputs (see attached filter). Filter Forge now "thinks" you're using the Image and let you control all the output. While this gets you around the problem, it is not an ideal solution - You filter will be categorized as an effect filter (assumes input image), which may not be true. Fringe Fix.ffxml |
|||
Posted: November 5, 2010 5:29 am |
Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!
33,711 Registered Users
+18 new in 30 days!
153,531 Posts
+36 new in 30 days!
15,347 Topics
+72 new in year!
24 unregistered users.