本文介绍了如何从PSD文件中提取文本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要从Linux上的photoshop PSD文件的图层中提取文本.有谁知道这是怎么做到的吗? Gimp栅格化了文本,您无法复制和粘贴它.另外,请注意,我不拥有Photoshop程序.
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.
推荐答案
您是否尝试过使用vim?
Have you tried using vim?
VIM带有一个标志,可让您编辑二进制文件.
VIM comes with a flag that lets you edit a binary file.
我尝试使用以下方法编辑PSD文件:
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>
这篇关于如何从PSD文件中提取文本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!