Le Mercredi 23 Novembre 2005 17:04, [EMAIL PROTECTED] a écrit :
> Hi,
>   ...
>    Oh, and yes, you really should use rasters for this (a single channel
> PNG used
> as a mask would be much better than the current arrangement).  Rasters
> formats
> are _really_ good at representing lots of abutting rectangles of different
> colors ;)
> This would be even faster than the fill-opacity solution and would avoid
> any issues
> with the overlap/underlap you are seeing now.
>
>    Finally I would also mention that Batik could be used to turn your svg
> version into a
> PNG (to get an 8bit PNG you would have to use the 'pallete' option of the
> transcoder).
> This might take a little bit of twiddling to get just right (you would
> want to match the
> rects with the output pixels), and using the mask element can be a little
> tricky (to get
> the coordinate systems lined up right).

What can I say... Oh my god comes first to mind. It looks like I got dragged 
away with all this SVG thing and kinda temporary forgot there may be better 
format out there. Since this very part of my svg is pretty static and has a 
very limited interactivity and all, it does sound daft to use SVG for that. 
Lesson tought! As for Batik, my project is in ASP.NET in a MSSQL db context, 
so I'll skip on Batik and use the .NET native support to produce piccies out 
of my db. And for the mask bit, FF does not support it yet, so I'll skip on 
that too but I think I can do without it (just using an image tag or 
something, I'll think more of it).

Thanks for the heads-up!

PS: on second thought, I remembered why I decided to go for an all SVG option. 
I really think that the future of internet relies on a clear separation of 
the data and the layout, the layout generation having to be made client-side 
(for various reasons) rather than server side. For this reason, I decided to 
use xslt as much as possible, especially on SVG's. Even if the 
transformations have to be made server side because of a lack of browser 
support (or a partial support only, especially when it comes to xslt+svg), 
using this approach made me feel I'd be ready for the hypothetic time when 
browsers become more... supportive. I guess a more balanced approach was 
necessary :-)

        

        
                
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to