Live data from Hacker News

Psd.rb

layervault.tumblr.com

21–30 of 94 posts

Re: Psd.rb

#21
post #17

I just wrote a script with this that takes a directory of PSDs and outputs PNGs for each one. It took about 2 minutes. This is great.

Wow, everything old, is new again ;) I think with an actual copy of Photoshop, and a little Applescript, this is something you could have done > 15 years ago.

Yes, but now you can do it without having a copy of Photoshop.

Re: Psd.rb

#23

>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.

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.

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

#25
post #23

Earlier quoted context omitted.

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.

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.

recent publish date != up-to-date content

Re: Psd.rb

#26
post #17

I just wrote a script with this that takes a directory of PSDs and outputs PNGs for each one. It took about 2 minutes. This is great.

Wow, everything old, is new again ;) I think with an actual copy of Photoshop, and a little Applescript, this is something you could have done > 15 years ago.

But this way I don't have to keep paying $20/mo to Adobe CC so that I can run the script again next month.

Re: Psd.rb

#27
post #26

Earlier quoted context omitted.

Wow, everything old, is new again ;) I think with an actual copy of Photoshop, and a little Applescript, this is something you could have done > 15 years ago.

But this way I don't have to keep paying $20/mo to Adobe CC so that I can run the script again next month.

I suspect that you could probably also manage it with GIMP/guile, but I don't suspect it would be particularly pleasant.

Re: Psd.rb

#28
Does anyone know of a similar tool for Python?

Not trying to start a Ruby/Python fight or anything; Python just happens to be my preferred language.

Re: Psd.rb

#29
post #17

I just wrote a script with this that takes a directory of PSDs and outputs PNGs for each one. It took about 2 minutes. This is great.

How long did it take to output each PSD (if you have a rough file size for each that would be great to know)

Re: Psd.rb

#30

This programmer has written about the PSD format in colorful detail: "Trying to get data out of a PSD file is like trying to find something in the attic of your eccentric old uncle who died in a freak freshwater shark attack on his 58th birthday." https://code.google.com/p/xee/source/browse/XeePhotoshopLoad... (ref: first link in the article)

I think that comment itself was posted on HN or somewhere -- I know I've seen it before.
Post reply on HN