3 ms·
Actually, having worked with both PDF and SWF (and software for converting between them...), they're both complex formats in different ways, although I personal
by userbinator 10y ago
Actually, having worked with both PDF and SWF (and software for converting between them...), they're both complex formats in different ways, although I personally think SWF is slightly easier to parse; PDF is a weird pseudo-textual format that includes elements of PostScript and interactive features via embedded JS, while SWF is conceptually much simpler to parse and its graphics are also simpler, but its interactivity model is more complex.
Converting graphics from SWF to SVG is an easy demonstration of just how inefficient XML-based formats are. We just don't notice (most of the time) because of computing power.