1

我正在编写一个程序(目前使用 Python)来读取 PSD 文件。我正在使用这个规范:http ://www.fileformat.info/format/psd/egff.htm 这里说

字节名称[]; /* 偶数长度的 Pascal 格式字符串,2 字节或更长 */

嗯,2个字节或更长?我怎么知道它有多灵?我也不知道“Pascal 格式字符串”是什么意思。提前致谢。

编辑:这是官方 PSD 规范 (pdf) 的直接链接: http://forums.adobe.com/servlet/JiveServlet/download/2923119-45984/Photoshop%20File%20Formats.pdf;jsessionid= 21F2DBA32AB9E56882065663C10A1EBF.node0 看看第 9 页,在“图像资源块”下

请帮忙。

4

1 回答 1

2

"Pascal-format string" could mean string that have length encoded on first position IIRC.

于 2011-09-17T07:10:12.563 回答