I am building a new website and I would like the logo of that website to look equally sharp across all devices (ranging from desktop computers to retina displays on the iPhone and iPad).
The logo I have doesn't contain any gradients or pixels, so I could easily save it in a vector format. However, nobody can really tell what the best format would be for this.
Is it SVG or PNG e.g.?
And how would I create an SVG file?
There is not much information available even on Google.
Thanks for sharing your experience with this.
Since SVG stands for "scalable vector graphics", that's probably your best choice ;) PNG is a pixel format, so it won't scale as nicely as you zoom in or out.
A common library for doing SVG images is Processing.js, check it out and see if it does what you want it to do!