Monday, August 18, 2014

Re: render a SVG graphic as bitmap?



On Sunday, August 17, 2014 6:17:18 PM UTC+2, Jens wrote:
Just don't support IE 8 and be happy http://caniuse.com/#search=svg

Sounds nice, but a primitive test app that displays a simple SVG graphic doesn't show up in Safari (IOS 7) and Blackberry.
(Ok, the latter may be unimportant.)
 
Other than that you would either use a graphics tool to export svg to jpg/png and fixed resolutions and let the client decide which to use or let the server convert it if you don't have any fixed resolutions.

I would let the client select the resolution. Then, I would make a RPC call which either returns with all the images, or with an URL where they can be found. In the second case, I would have to keep track of all the resolutions some client has asked for. In the first case, I would have to transmit a structure containing all the images at once. What's better?

Magnus

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment