News for hackers. Stuff that matters.
Re:Web Graphics Done Right by Animats on Monday October 07, 2019 @01:20PM (#21183423)
SVG is an incredibly inefficient way to represent a line drawing,with all the coordinates written out as text, and not as deltas from the previous one. Flash's internal representation is much tighter, but not cool any more.
Re:Web Graphics Done Right by mkl on Monday October 07, 2019 @03:19PM (#21184876)
SVG can do relative coordinates fine: "m 10 10" (m dx dy) rather than "M 10 10" (M x y). But yes, they're text until you compress them.
Re:Web Graphics Done Right by tripzilch on Wednesday October 09, 2019 @04:27PM (#21207636)
Yes, but unless you round the floating point digits, you're going to use about as much bytes.
Re:Web Graphics Done Right by Filligree on Monday October 07, 2019 @02:43PM (#21184475)
The parent is correct. At some point we gained a fear of binary formats, but binary formats are still the only way to transfer data efficiently.

Yes, flash had other problems. No, this doesn't make their point false.

Re:Web Graphics Done Right by deafcalculus on Monday October 07, 2019 @02:43PM (#21184479)
Is that really true with gzipping?
Re:Web Graphics Done Right by gnud on Monday October 07, 2019 @02:51PM (#21184546)
Browsers still need to unzip and parse the SVG, and store the DOM representation of it.