Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why not JPG ? #1

Open
alexaapetrei opened this issue May 21, 2013 · 1 comment
Open

Why not JPG ? #1

alexaapetrei opened this issue May 21, 2013 · 1 comment

Comments

@alexaapetrei
Copy link

you could store meta data ( file name/s and type in the exif ) jpg essentially being a zip file anyway , also you could have a actual image of what the file represents, say a picture of the radiohead album or whatever :)

@ricardobeat
Copy link
Owner

PNGs are more like zip files than a JPG. The original idea was to store the data in the RGB values themselves, that would give it pretty good compression, but I ended up using tEXt because it was easier :) the tEXt chunks in PNG only support a limited range of characters; if metadata fields in JPEG can take arbitrary data you could put the raw or compressed binary in, otherwise it's just the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants