开发者

PSD specifications help

I'm writing a program (in Python for now) for reading PSD files. I'm using this specification: http://www.fileformat.info/format/psd/egff.htm Here it says

BYTE Name[]; /* Even-length Pascal-format string, 2 bytes or longer */

Um, 2 bytes or longer? How am I supposed to find out how ling it is? I don't know what "Pascal-format string" means either. Thanks in advance.

EDIT: Heres a direct link to the official PSD specification (pdf): http://forums.adobe.com/servlet/JiveServlet/download/2923119-45984/Photoshop%20File%20Formats.pdf;jsessionid=21F2DBA32AB9E56882065663C10A1EBF.node0 Look in page 9, under "Image Resource B开发者_开发百科locks"

Please help.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜