title: PSD specifications help
body: <p>I'm writing a program (in Python for now) for reading PSD files. I'm using this specification: <a href="http://www.fileformat.info/format/psd/egff.htm" rel="nofollow">http://www.fileformat.info/format/psd/egff.htm</a>
  Here it says</p>
  
  <blockquote>
    <p>BYTE Name[];   /* Even-length Pascal-format string, 2 bytes or longer
    */</p>
  </blockquote>
  
  <p>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.</p>
  
  <p>EDIT: Heres a direct link to the official PSD specification (pdf): <a href="http://forums.adobe.com/servlet/JiveServlet/download/2923119-45984/Photoshop%20File%20Formats.pdf;jsessionid=21F2DBA32AB9E56882065663C10A1EBF.node0" rel="nofollow">http://forums.adobe.com/servlet/JiveServlet/download/2923119-45984/Photoshop%20File%20Formats.pdf;jsessionid=21F2DBA32AB9E56882065663C10A1EBF.node0</a>
  Look in page 9, under "Image Resource Blocks"</p>
  
  <p>Please help.</p>