News for hackers. Stuff that matters.
Re:Stanford CS248: Implement an SVG Rasterizer by dublin on Friday March 20, 2020 @05:38PM (#22641923)
Kinda defeats the whole purpose of SVG. Only photos should be bitmaps. Graphics should be vectors. This is the 21st century, folks...
Re:Stanford CS248: Implement an SVG Rasterizer by avmich on Friday March 20, 2020 @06:40PM (#22642436)
True, but if you have digital display - that is, which have separate, immovable pixels, working with pixels and not with vector-based analog primitives - you'll eventually have to convert "vector" picture into "pixel" picture.
Re:Stanford CS248: Implement an SVG Rasterizer by chrisseaton on Saturday March 21, 2020 @08:04AM (#22645955)
Do you have a vector display of some kind?

No?

So someone somewhere is going to need to rasterise your vectors if you want to see them on a screen, aren't they?

Re:Stanford CS248: Implement an SVG Rasterizer by rayshan on Friday March 20, 2020 @06:56PM (#22642581)
I wish for that world to exist, but rasterized images are much easier to share and render nicely in iMessages etc.
Re:Stanford CS248: Implement an SVG Rasterizer by Sephr on Friday March 20, 2020 @06:04PM (#22642116)
One reason is to generate screenshots of HTML by combining this technique with SVG <foreignObject>.