This programmer would now not like the PSD File Structure:

/*

At this level, I’d like to exhaust a moment to focus on to you in regards to the Adobe PSD layout.

PSD is now not a genuine layout. PSD is now not even a vulgar layout. Calling it such can be an insult to other vulgar formats, equivalent to PCX or JPEG. No, PSD is an abysmal layout. Having labored on this code for several weeks now, my detest for PSD has grown to a raging fire that burns with the fierce passion of 1,000,000 suns.

If there are two diverse suggestions of doing something, PSD will create each and every, in diverse areas. This can then ticket up three extra suggestions no sane human would judge of, and create those too. PSD makes inconsistency an art make. Why, as an illustration, did it with out be conscious judge that *theserecount chunks would possibly perhaps well easy be aligned to four bytes, and that this alignement would possibly perhaps well easy *now notbe included within the scale? Diversified chunks in diverse areas are either unaligned, or aligned with the alignment included within the scale. Right here, though, it is rarely included. Either the kind of three behaviours can be beautiful. A sane layout would retract one. PSD, for certain, makes exhaust of all three, and further.

Making an are trying to receive files out of a PSD file is like attempting to search out something within the attic of your eccentric previous uncle who died in a freak freshwater shark attack on his 58th birthday. That last part is potentially now not crucial for the functions of the simile, but at this level I am spending a form of time imagining fun fates for the folk chargeable for this Rube Goldberg of a file layout.

Earlier, I attempted to receive a take care of of the most up-to-date specs for the PSD file layout. To create this, I needed to watch to them for permission to watch to them to have them take care of in thoughts sending me this sacred tome. This would have fervent faxing them a copy of some doc or other, potentially signed in blood. I will most efficient agree with that they ticket this assignment so sophisticated because they are intensely ashamed of having created this abomination. I became as soon as naturally now not gullible satisfactory to battle thru with this draw, but after I had carried out so, I’d have printed out every single page of the spec, and boom all of them on fire.

Had been it within my energy, I’d win every single copy of those specs, and launch them on a spaceship straight into the solar.

PSD is now not my favorite file layout.

*/

— code commentary from https://github.com/gco/xee/blob/master/XeePhotoshopLoader.m#L108