News for hackers. Stuff that matters.
Re:Clever screenshot app turns your desktop into Photoshop l... by showerst on Wednesday January 21, 2009 @10:04PM (#444262)
I just spent a few hours looking into doing this, and all I can say is kudos to them for decoding the psd file format =P.

None of the big graphics libraries (GD, Image Magick, etc) support writing of layered PSD files (Imagick can read them, and export non-layered's, but that's it as far as I can tell.), and the format specs require you to sign an NDA/non-compete with Adobe.

Taking the screenshots is doable if a bit of a pain, but short of reverse engineering the psd format, the second part seems to be a roadblock. Shame, i'd use this too =P.

Re:Clever screenshot app turns your desktop into Photoshop l... by asjo on Thursday January 22, 2009 @04:06PM (#445375)
The Gimp (http://gimp.org/) can load _and_ save PSD-files with layers, so you could probably find most of the reverse engineering already done in the code there.

While you are at it, why not just save the file in Gimp format and be done with it? :-)