On Tue, 21 Feb 2006, Aaron Spike wrote:
It seems to me that most all of the functionality needed for flattening out transparency already exists in Inkscape. A rather brute force method could be:
- Replace all strokes with paths
- Decompose all overlapping objects (this would be an additional boolean op,
and it has been requested twice in my recent memory) 3) Replace all area's of overlapping transparency with a bitmap copy. 4) Replace all non overlapping transparency with the resultant color.
I don't think rendering to a bitmap is required. I think, if you've already split all of the objects up into their various sub components, you should be able to calculate the correct color without transparency. I think the only time you need a bitmap is for overlapping gradients with transparency.
Yeah, I think that everything is in Inkscape, it's just a matter of writing it all :) It would be nice if the sub-functions were written as effects: Split Overlaps and Remove Transparency. I could see uses for them outside of printing.
--Ted