Extending the file-psd plug-in to load the PSB file format
Submitted by rob..@...co.uk
Link to original bug (#765337)
Description
Created attachment 326438 file-psd plug-in source modified to load PSB also
Currently the file-psd plug-in does not load the PSB file format. According to the the Photoshop File Format spec (please see http://www.adobe.com/devnet-apps/photoshop/fileformatashtml/#50577409_72092), the difference between PSD and PSB is quite minor, as such I decided to update the plug in to handle PSB.
The following files have been modified (source code downloaded from GIT some time ago):
- psd.h
- psd.c
- psd-load.h
- psd-load.c
- psd-util.h
- psd-util.c
I have tested all the PSD and PSB files (not that many) I have on my machine, without issue. Obviously due to the importance of the plug-in I expect a lot more testing is necessary.
Also this is my first contribution to GIMP (as well as my first time coding in plain c) and as such may need guidance on expected code style etc.
Attached is the file-psd source, zipped.
I have not yet implemented anything for saving in the PSB format, I will consider it if requested.
Attachment 326438, "file-psd plug-in source modified to load PSB also":
file-psd.zip
Version: git master