How to extract text from a PSD file?

前端 未结 5 1776
情深已故
情深已故 2021-01-01 16:47

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

5条回答
  •  攒了一身酷
    2021-01-01 17:15

    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:

                                
                                        com.apple.print.PageFormat.PMAdjustedPageRect
                                        
                                                0.0
                                                0.0
                                                576
                                                734
                                        
                                        com.apple.print.ticket.stateFlag
                                        0
                                
    

提交回复
热议问题