News for hackers. Stuff that matters.
Re:Psd.rb by mistercow on Tuesday July 30, 2013 @04:01PM (#6129625)
>Adobe has never produced an easy way for developers to work with the format.

That's not entirely fair. Adobe has openly released a comprehensive description of the format which is, as far as I know, accurate. The problem is that the format itself is a heap of features piled on year after year with apparently no regard for doing things consistently.

Re:Psd.rb by meltingice on Tuesday July 30, 2013 @04:07PM (#6129670)
The file spec released by Adobe (http://www.adobe.com/devnet-apps/photoshop/fileformatashtml/) is actually outdated, wrong in some places, and can be incredibly vague at times.
Re:Psd.rb by Zev on Tuesday July 30, 2013 @05:06PM (#6130043)
I can't speak to its accuracy, but, June 2013 wasn't yesterday. It isn't that old -- and it isn't like there's been a release of Photoshop in the past month and a half, so, it seems pretty recently updated.
Re:Psd.rb by ricardobeat on Tuesday July 30, 2013 @05:11PM (#6130089)
recent publish date != up-to-date content
Re:Psd.rb by ejstronge on Tuesday July 30, 2013 @06:53PM (#6130665)
A bit off-topic, but is there a spec for Illustrator files? It seems the only one I see on Google is from an old version of AI...
Re:Psd.rb by TheZenPsycho on Wednesday July 31, 2013 @08:45AM (#6133250)
As noted, newer illustrator files are just PDF's (perhaps with extra data for editing).

Older illustrator files are in fact, EPS files. This is somewhat tricky since, an EPS is not actually so much a data format as it is a turing complete programming language. Sooo... yeah, who knows what black magic they did to pull off reliably reading and writing it.

Re:Psd.rb by gcr on Friday August 02, 2013 @05:24PM (#6149773)
You can read an EPS file by interpreting it and remembering the shapes it renders on the page.

You can write an EPS file by emitting your list of shapes without using the turing-complete features of the language.

Not that hard, at least conceptually.

Re:Psd.rb by TheZenPsycho on Saturday August 03, 2013 @10:02AM (#6152086)
That's all fine and good at least up until you have to kern a line of text. Then what?
Re:Psd.rb by kellysutton on Tuesday July 30, 2013 @06:59PM (#6130692)
Not yet, but there's always next week...
Re:Psd.rb by scardine on Tuesday July 30, 2013 @08:30PM (#6131085)
Some AI files can read as PDF (try to rename them and see if your reader can open it).
Re:Psd.rb by 6ren on Tuesday July 30, 2013 @05:56PM (#6130314)
joke: Legal wanted to open-source it, but was vetoed by Engineering.

But seriously, this kind of back-compatibility horror is the hallmark of success, where success means enduring.

Re:Psd.rb by bluedino on Tuesday July 30, 2013 @08:24PM (#6131062)
Similar to a Word .doc? Who's worked with both, is it Better, or worse?