3 ms·
Couldn't someone come up with a relatively sane schema for storing the same information that a PSD would contain in a SQLite database? That way, you could stan
by robbles 13y ago
Couldn't someone come up with a relatively sane schema for storing the same information that a PSD would contain in a SQLite database?
That way, you could standardize on the semantics that are already documented and familiar to other developers, but avoid the difficulties of the file format, which seem to be the issue here.
* disclaimer: I've never had to write a PSD-parser, I'm just going on hearsay.
- jcampbell1 13y agoPhotoshop layers have all the nastiness of threaded comments plus the added complexity of "blending". I frankly can't comprehend the complexity of modeling Photoshop's layers as SQL tables. Converting PSD's to JSON seems like a reasonable thing to do, but converting them to normalized SQL seems like a never ending shit show.
- cachvico 13y agoHow about just strip PSD of all its crud, Adobe specifies it openly and gives it to the commons. I have a dream..
- sneak 13y agoKeep dreaming: PSD is not a single file format, but two decades of cruft upon cruft: http://www.jwz.org/blog/2012/11/psd/ http://www.jwz.org/blog/2012/11/psd/
- chaz 13y agoI found this article, linked in the comments, to be insightful: http://www.joelonsoftware.com/items/2008/02/19.html http://www.joelonsoftware.com/items/2008/02/19.html