After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 765337 - Extending the file-psd plug-in to load the PSB file format
Extending the file-psd plug-in to load the PSB file format
Status: RESOLVED OBSOLETE
Product: GIMP
Classification: Other
Component: Plugins
git master
Other All
: Normal enhancement
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2016-04-20 18:24 UTC by rob_tandy
Modified: 2018-05-24 16:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
file-psd plug-in source modified to load PSB also (469.20 KB, application/zip)
2016-04-20 18:24 UTC, rob_tandy
Details

Description rob_tandy 2016-04-20 18:24:24 UTC
Created attachment 326438 [details]
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.
Comment 1 rob_tandy 2016-04-22 18:11:09 UTC
I'll get the latest source from GIT and create a patch file for this soon. Will attach it when done.
Comment 2 Michael Natterer 2016-04-22 19:59:48 UTC
Thanks, I was just about to ask for that :)
Comment 3 Alexandre Prokoudine 2017-11-23 12:52:57 UTC
Hi Rob, any luck updating your patch?
Comment 4 GNOME Infrastructure Team 2018-05-24 16:18:57 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/884.