News for hackers. Stuff that matters.
Re:Psd.js: A Photoshop Document Parser in CoffeeScript by qqqqqq on Tuesday January 31, 2012 @03:29PM (#3535029)
Well that's weird. I tried giving the demo a Photoshop CS5 file and it doesn't like that. I thought maybe it was a parsing problem, since I remember there being something about the latest Photoshops doing something to PSD's. PSD's made in Photoshop 7 do not seem to work either.

I wonder what is going on? I've tried this on Chrome 16 and Firefox 10.

Well that's weird. I tried giving the demo a Photoshop CS5 file and it doesn't like that. I thought maybe it was a parsing problem, since I remember there being something about the latest Photoshops doing something to PSD's. PSD's made in Photoshop 7 do not seem to work either.

I wonder what is going on? I've tried this on Chrome 16 and Firefox 10.

-- Edit:

Oh, it looks like browsers don't appear to be sending the MIME-type. In fact, there appears to be a lot of file types which I'm randomly throwing into filereader that don't appear to have any MIME-type attached to them. How very interesting indeed!

Re:Psd.js: A Photoshop Document Parser in CoffeeScript by thristian on Tuesday January 31, 2012 @10:33PM (#3536531)
If I recall correctly, Adobe has not published PSD file-format specifications for anything past Photoshop 6, so supporting anything newer than that is likely to involve a lot of reverse-engineering and heartache.