Hello,
I am trying to make a program, which loads and parses PSD files. I am using this specification: http://www.adobe.com/devnet-apps/photoshop/fileformatashtml/ from June 2013.
I have found many errors and incomplete things. The last problem I am stuck at is Virtual Memory Array List - http://www.adobe.com/devnet-apps/photoshop/fileformatashtml/#VirtualMe moryArrayLis
In docs, it says, that there is
4 Boolean indicating whether array is written
4 Length
4 Pixel depth: 1, 8 or 16
1 Compression mode of data to follow. 'Pat2' compression is zip.
Variable Actual data based on parameters and compression
But all PSD files I have actually contain
4 Boolean indicating whether array is written
4 Length
4 Pixel depth: 1, 8 or 16
16 Rectangle for pattern (same rectangle is there twice + once for each pattern channel = five times!)
2 Pixel depth again, but as Short
1 Compression mode of data to follow. 'Pat2' compression is zip.
Variable Actual data based on parameters and compression
Varialbe Some random bytes of random length (20 ~ 200 bytes). No idea what is inside, what they are used for. About half of them are "continuous" zeros.
Can Adobe specify these data and update the document? I think those errors are there for years.