XeePhotoshopLoader.m – xee – Google Code
Best. Comment. Ever. while([fh offsetInFile]+12<=imageoffs) { uint32 sign=[fh readUInt32BE]; uint32 marker=[fh readUInt32BE]; uint32 chunklen=[fh readUInt32BE]; off_t nextchunk=[fh offsetInFile]+((chunklen+3)&~3); // At this point, I’d like to take a moment to speak to you about the Adobe PSD format. // PSD is not a good format. PSD is not even a bad format. Calling it such…