views:

1072

answers:

2

I need to extract the text from the layers in a photoshop PSD file on linux. Does anyone know how to do that? Gimp rasterizes the text and you can't copy and paste it. Also, note that I do not own the Photoshop program.

+1  A: 

Have you tried using vim?

VIM comes with a flag that lets you edit a binary file.

I tried editing a PSD file with:

vim -b file.psd

This is an example of what I got when editing the file:

                            <dict>
                                    <key>com.apple.print.PageFormat.PMAdjustedPageRect</key>
                                    <array>
                                            <real>0.0</real>
                                            <real>0.0</real>
                                            <real>576</real>
                                            <real>734</real>
                                    </array>
                                    <key>com.apple.print.ticket.stateFlag</key>
                                    <integer>0</integer>
                            </dict>
alfredodeza
I get some text when doing that, but not all the text comes through that way
rado
A: 

Visit the internet site Bram.us. There are two tools to export and import text from psd files. It goes very good!

Julio
I looked, but I didn't see it. Would you provide a more specific link?
rado
In case anyone stumbles onto this page, it is here: http://www.bram.us/2008/10/30/ps_bramustextconvert-psd2txt-and-txt2psd-for-the-masses/
egarcia