TinyVG / specification

The specification for TinyVG. This is the central authority for the file system

Home Page:https://tinyvg.tech/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Proposal] Should EOD be optional?

marler8997 opened this issue · comments

What do you think about making EOD optional?

No, the EOD marker isn't there "just because it's nice", but it's required to determine if a file is actually valid TinyVG or just random garbage.

It also allows you to read TinyVG files from a stream with additional data after it without encoding (or knowing) the encoded file size before streaming the data.

In the stream example I agree you would need EOD. Why would you say EOD is required to know whether the file is valid, doesn't the magic/version/header serve that purpose well enough?