Psd.rb
layervault.tumblr.com
Psd.rb
1–10 of 94 posts
Re: Psd.rb
#2Re: Psd.rb
#3Re: Psd.rb
#4So, will there be writing .PSD files as well? This would be the über thing. Imagine: upload a .PSD and get back a clean HTML layout + bootstrap_overrides.css
Re: Psd.rb
#5I feel like this could be used to automatically convert a simple .psd web layout to non-shitty HTML and CSS.
If anything, I think it would be a cool project to build on top of PSD.rb instead of bloating the core library.
Re: Psd.rb
#6Re: Psd.rb
#7That'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
#8So, will there be writing .PSD files as well? This would be the über thing. Imagine: upload a .PSD and get back a clean HTML layout + bootstrap_overrides.css
Writing PSD files is considerably easier than reading them. To write, you need only support the features you actually use. To read, you must support everything. For example, Photoshop always saves its layers RLE compressed (or it did when I last wrote code to write PSD files, which was about five years ago), but the format supports uncompressed layer data just fine. So if you're just trying to get basic interoperation with Photoshop, you don't have to worry about RLE at all.
>Imagine: upload a .PSD and get back a clean HTML layout + bootstrap_overrides.css
Why would that require writing .PSD files?
Re: Psd.rb
#9>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
#10I feel like this could be used to automatically convert a simple .psd web layout to non-shitty HTML and CSS.