Sponsored by Best Buy
Best Buy finds gold in Iowa. view!
youtube.com - Best Buy employee, Danielle Kelly, sings her way into holiday campaign.
102 Comments
- Larssonk22, on 04/22/2009, -0/+166"Trying to get data out of a PSD file is like trying to find something in the attic of your eccentric old uncle who died in a freak freshwater shark attack on his 58th birthday. That last detail may not be important for the purposes of the simile, but at this point I am spending a lot of time imagining amusing fates for the people responsible for this Rube Goldberg of a file format."
One of the most perplexing and amuzing statements I've read in a long time. - DontHassleHoff, on 04/22/2009, -1/+145Dugg for:
// I can only imagine that they make this process so
// difficult because they are intensely ashamed of having created this abomination." - ElecBoy, on 04/23/2009, -0/+116Dugg for ChangeLog:
r11 by paracelsus on Sep 11, 2007
Photoshop loader is DONE for now, ***** you Adobe
http://code.google.com/p/xee/source/detail?r=11 - JasonHaley, on 04/23/2009, -2/+117All I saw in that code was a Blonde, Redhead, and Brunette.
- Taikomochi, on 04/23/2009, -0/+97Would love to see what this guy would say about the Adobe Update system.
- cerejota, on 04/23/2009, -5/+86Just in case it gets baleted:
// 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 would be an
// insult to other bad formats, such as PCX or JPEG. No, PSD is an abysmal format. Having
// worked on this code for several weeks now, my hate for PSD has grown to a raging fire
// that burns with the fierce passion of a million suns.
// If there are two different ways of doing something, PSD will do both, in different
// places. It will then make up three more ways no sane human would think of, and do those
// too. PSD makes inconsistency an art form. Why, for instance, did it suddenly decide
// that *these* particular chunks should be aligned to four bytes, and that this alignement
// should *not* be included in the size? Other chunks in other places are either unaligned,
// or aligned with the alignment included in the size. Here, though, it is not included.
// Either one of these three behaviours would be fine. A sane format would pick one. PSD,
// of course, uses all three, and more.
// Trying to get data out of a PSD file is like trying to find something in the attic of
// your eccentric old uncle who died in a freak freshwater shark attack on his 58th
// birthday. That last detail may not be important for the purposes of the simile, but
// at this point I am spending a lot of time imagining amusing fates for the people
// responsible for this Rube Goldberg of a file format.
// Earlier, I tried to get a hold of the latest specs for the PSD file format. To do this,
// I had to apply to them for permission to apply to them to have them consider sending
// me this sacred tome. This would have involved faxing them a copy of some document or
// other, probably signed in blood. I can only imagine that they make this process so
// difficult because they are intensely ashamed of having created this abomination. I
// was naturally not gullible enough to go through with this procedure, but if I had done
// so, I would have printed out every single page of the spec, and set them all on fire.
// Were it within my power, I would gather every single copy of those specs, and launch
// them on a spaceship directly into the sun.
//
// PSD is not my favourite file format. - YokohamaGaijin, on 04/23/2009, -0/+73The only way this could be more clear is if the comment section included ASCII art of a big middle finger.
- fcukthisgame, on 04/23/2009, -0/+65I knew there was a reason they always taught us to comment our code...
- jakbrud, on 04/23/2009, -2/+63"my hate for PSD has grown to a raging fire that burns with the fierce passion of a million suns."
Dugg for the nerd rage
-- by the way I'm stealing that line
kthxbai - mikusd, on 04/23/2009, -1/+48I like the line of code after the comment:
//
// PSD is not my favourite file format.
if(sign!='8BIM') break; // sanity check
Indeed, it seems the first validation to perform is a good sanity check, whilst working with PSD files at a low level - SteveMTyler, on 04/23/2009, -0/+36you release binary file formats on them?
- planetbeing, on 04/23/2009, -1/+31No, it's probably not backwards compatibility. The symptoms the fellow lists is clearly some developer who wrote the code to write to the file format rather than a specification for the file format first. In fact, I am surprised that a document describing the file format even exists. If it does, then they probably got some poor intern to go through the code and reverse engineer the specification from it.
It's easy to see how it could have evolved. You need a feature somewhere? Just add it to the code. Of course, you forget whether the original code typically uses 2-byte alignment or 4-byte alignment or no alignment, and whether the alignment size should be included in the size specifier. But who cares? Just make one up for this addition.
And why not? After all, your job is to write an image editor. It doesn't really matter what kind of binary spew your program spits out, mostly still encoded in the program's own internal data structures. It doesn't matter, because no other program will have to read it. Right? Right?
Adding a bit of code to handle a random addition to the specification happens to be easy (that's all Adobe has to do), but rewriting an implementation of the format from scratch and not having any discernible pattern to the way all of these random additions handle data is very frustrating. - LR2_, on 04/23/2009, -3/+33I'm going to go ahead and take a guess that the PSD format is so messed up because of backwards compatibility. Microsoft on the other hand went .doc -> .docx. I bet if adobe did something like that then the new format would be cleaner, but at the cost of lost functionality. I bet a lot of designers would be upset if they had to maintain different versions of Photoshop of their computers so that they could read old/newer files.
- matude, on 04/23/2009, -2/+28Well it's Shakespeare, actually.
"I hate you with the burning intensity of a thousand desert suns." - shyguycasey, on 04/23/2009, -3/+27Apparently, he does not like the PSD format.
- RoboDonut, on 04/23/2009, -1/+23>old school coding technique. slash-slash FTW!!!
"/* */" is the traditional comment delimiter. "//" is a new-fangled C++ thing. - spotconsole, on 04/23/2009, -2/+23Dugg for Obj-C.
- dawnraid101, on 04/23/2009, -2/+21/* */ saves //.
- RoboDonut, on 04/23/2009, -2/+19Reminds me of my experiences trying to get my game engine to load Valve BSP maps.
While IBSP (version 46) has just 17 lumps, VBSP has at least 57. I say "at least" because it's changed at least five times since I looked at it.
The worst part is that most of them are for inane and redundant *****. Valve took an elegantly simple format and turned it into an incomprehensible mess. I just gave up and wrote a parser for Quake 3 maps instead. It was so much easier. - cerejota, on 04/23/2009, -3/+20I said baleted, not diggkilled.
- GerbilSoft, on 04/23/2009, -2/+18Yes, because in order to have a "professional" file format, you must haphazardly store different parts of the file with different alignments, different conventions for "size", and then store the same thing five times throughout the file using different alignments for each version. That is definitely an enterprise-grade file format!
- Ecco2, on 04/23/2009, -7/+22Well, I doubt the Digg crowd, as powerful as it is, can take down Google's servers… ;-)
- Commonwealth, on 04/23/2009, -1/+15Getting old? It has ***** died and decomposed. Its nutrients have been absorbed back into the ecosystem and been reconstituted into a thousand other horribly overused memes that can be driven into the ground by someone who doesn't have anything interesting to say.
But that's just my opinion. - fxu1989, on 04/23/2009, -0/+13....................../´¯/)
....................,/¯../
.................../..../
............./´¯/'...'/´¯¯`·¸
........../'/.../..../......./¨¯\
........('(...´...´.... ¯~/'...')
.........\.................'...../
..........''...\.......... _.·´
............\..............(
..............\.............\... - mithrasinvictus, on 04/23/2009, -1/+13PNG is not lossy. TIFF can be, depending on what it contains.
- genericdigger, on 04/23/2009, -6/+18MrBabyMan has a new avatar?
- mikusd, on 04/23/2009, -1/+11this meme is getting old...
- non00b, on 04/23/2009, -2/+12for the record, Xee is a good OS X image browsing program...
I don't need it much now in 10.5, since there is a good previewing system of images, but in 10.4 it was very useful. - GlitchEnzo, on 04/23/2009, -0/+9As someone who has written a PSD loader, I can state with full confidence that it is the worst file format in existence. Absolutely horrible. The layers are stored backwards, the grouping is totally screwy, and text layers take up 10 times the amount of data they should.
Adobe really needs to drop all backwards compatibility at some point and just start over from scratch. - NTAuthority, on 04/23/2009, -1/+10This code is Objective C. :)
- mikusd, on 04/23/2009, -1/+10I'm guessing they were referring to the fact that this rant was posted in comments from source, rather than a public forum or blog. Obviously now with services like Google Code, source is definitively more "open" when open.
- tippmann1, on 04/23/2009, -3/+11I do this almost on a daily basis. Sometimes for people who created an asinine piece of code, people who pull out in front of me in traffic, people who are walking down the street minding their own business.
- mrBitch, on 04/23/2009, -1/+9Dug for Shakespeare.
- ScottyDelicious, on 04/23/2009, -2/+10Baleted is homestarrunner speak for deleted. He used the word (in a few variations) when checking Strong Bad's email.
I think cerejota was just saying that if it gets removed from the file on a SVN or GIT checkin for some reason, you can still read the code comments in cerejota's post. - mithrasinvictus, on 04/23/2009, -2/+9Saving files as JPEG is the obvious choice for photos. But every time you save as JPEG you will lose some quality. (you can set what quality level to use when saving as JPEG)
When saving as PNG there will be no quality loss, but if it is a photograph the resulting file will probably be much larger. (more noise=less compression)
Save as PNG if you intend to edit the photo, save as (high quality) JPEG for the final product.
Computer generated images are almost always best saved as PNG. - FKnight, on 04/23/2009, -1/+7They sure as ***** got around that problem with Illustrator and InDesign -- they just ***** you over and change the format every time a new version comes out.
- manicleek, on 04/23/2009, -1/+7You're trying to look like you know what you're talking about, but failing and making yourself look stupid
- vade79, on 04/23/2009, -0/+6Finally, I don't feel alone anymore... We should all start a support group.
- TidusX, on 04/23/2009, -2/+8Ha ha he did pay attention to the first comment in this post:
http://digg.com/odd_stuff/26_year_old_man_with_bod ... - 007isbond1, on 04/23/2009, -2/+8also dugg for changelog.
- Meep3D, on 04/23/2009, -5/+11So what you are telling me are there are no hacked up, kludgy, bits or rubbish code in the FOSS world? This problem came about through hacks (As the poster below explains) rather than doing each mod the 'right' way. the release license is irrelevant.
Just look at email, especially the MIME specification - it's just a big pile of dirty hacks. Sure you _could_ fix it, but then every email client on the planet would stop working with it. Yet it is 'open source' and was even born in that environment and has had _years_ to develop, yet the whole system pretty much needs to be thrown away to fix it.
I am trusting that backwards compatability is something that Adobe value given the non-technical and artistic nature of their user base (who really don't like the idea of PSDx) and the probably huge investment of time, resources and extra bugs that would occur from reimplementing it is probably the reason for it.
Also, there is an Open Source version of Photoshop - It's called The Gimp, and it's crap. - SteveMTyler, on 04/23/2009, -2/+7what?
- ratatek, on 04/23/2009, -0/+5I am amuzed at your spelling.
- inactive, on 04/23/2009, -3/+8XCF ftw
- NeoTechni, on 04/23/2009, -2/+7I prefer png
- inactive, on 04/23/2009, -7/+12***** you, two of my friends died from getting old.
- sathishcj, on 04/23/2009, -2/+6Tiff format, without layers. Especially if you want to save 16-bit images (originally processed from RAW)
- sburner, on 04/23/2009, -1/+5" Were it within my power, I would gather every single copy of those specs, and launch them on a spaceship directly into the sun. "
I can imagine myself enjoying this moment with some popcorn and stuff. - inactive, on 04/23/2009, -0/+3Upset? I'd grab my pitchfork and start rioting. It's bad enough trying to convert from using Indesign CS3 at home to Indesign CS2 at my office.
- mparker21311, on 04/23/2009, -0/+3***** bridge.
-
Show 51 - 100 of 104 discussions



What is Digg?