Re:Psd.js: A Photoshop Document Parser in CoffeeScript
by untog on Tuesday January 31, 2012 @12:41PM
(#3534274)
I have a really hard time getting along with Photoshop as a web design tool. For touching up photos it's fantastic, but I far prefer Illustrator, or even better, Fireworks. Fireworks in particular has a great vector/raster hybrid that I love.
But I'm sure I would get used to Photoshop if I had to.
Re:Psd.js: A Photoshop Document Parser in CoffeeScript
by oneplusone on Tuesday January 31, 2012 @04:27PM
(#3535284)
I think the coolness about hating Photoshop comes from Photoshop on Mac being a 2nd class citizen. The Windows version of Photoshop is better in every way. It is very stable and has an excellent UI (though a few of the older dialogs could use an update).
The Mac version on the other hand is a pain in the ass to use. I operate at about 70% efficiency when using the Mac over Windows version.
Re:Psd.js: A Photoshop Document Parser in CoffeeScript
by jonknee on Tuesday January 31, 2012 @04:44PM
(#3535345)
Do you have any specifics? The UIs are very similar. They don't use the OS widgets on either platform to keep things consistent and if you know one you know the other. So much so that I'm not a fan of the Mac UI too much because it feels like a Windows app.
Re:Psd.js: A Photoshop Document Parser in CoffeeScript
by AJ007 on Tuesday January 31, 2012 @07:24PM
(#3535979)
That is interesting, its the first time I've heard that. I've been using Photoshop on Windows since at least 1999 and can not imagine life without it. It never crashes (everything else I use does.)
Re:Psd.js: A Photoshop Document Parser in CoffeeScript
by ronnier on Tuesday January 31, 2012 @05:54PM
(#3535615)
Same here. I'm thankful for the brains that went into developing such a tool, just think about the amount of research, mathematics, and algorithms required to do even some of the simple tasks in Photoshop.
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.
Re:Psd.js: A Photoshop Document Parser in CoffeeScript
by DougBTX on Tuesday January 31, 2012 @01:51PM
(#3534610)
Why do you think there would be a performance aspect? The JavaScript generated by the CoffeeScript compiler looks just like well written JavaScript. (But without the comments, grumble grumble.)
The compiled output is readable and pretty-printed, passes through JavaScript Lint without warnings, will work in every JavaScript implementation, and tends to run as fast or faster than the equivalent handwritten JavaScript.
I fucking love Photoshop
But I'm sure I would get used to Photoshop if I had to.
The Mac version on the other hand is a pain in the ass to use. I operate at about 70% efficiency when using the Mac over Windows version.
If it works, I would really look forward to this.
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!
Also, from the CoffeeScript website:
The compiled output is readable and pretty-printed, passes through JavaScript Lint without warnings, will work in every JavaScript implementation, and tends to run as fast or faster than the equivalent handwritten JavaScript.
http://coffeescript.org/
To get the most performance out of any language you need to understand it very well.