Hi Alejandro, Here's how I would approach it. (Assuming the Vector graphic is NOT anti-aliased, which should be correct because MC can't render vectors antialiased)
1) Create your vector graphic 2) Convert it to a bitmap with import snapshot the rect of the graphic (be sure to use the window ID) 3) Re-render your vector graphic so that it is black on white, thus creating a mask 4) Convert it to a bitmap with impport snapshot, thus creating the alphamask 4) You can use my Image Compositing stack at: http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm to see how to convert the black and white graphic to the alphadata of the original screen capture. If you are using anti-aliased graphics (such as smoothed screenfonts), this somewhat changes, but is still possible. Basically you need to only use the alphamasks and apply them to solid color bitmaps. If you're using more than one color, you'll need to do this for each color, then composite them all together (in memory, not on the card because of an image render bug--see stack). hope this helps, Chipp > I wonder if anyone have a script to convert a > group of polygon graphics in a bitmap image, > without using a screenshot. > > I'm aware of the tip for exporting a whole card image, > > in the Ken Ray's website, but I'm looking for > a way of exporting the rectangle area of a group of > polygon graphics with their void areas as > transparent pixels. Think of letters, like B, > with 2 voids areas that must be transparent. > > If I use a screenshot, everything around the > group of graphics is captured in the image. > Not exactly what I'm looking for. > > Any help is welcome. > > Thanks in advance. > > Alejandro _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
