GIMP XCF extension, PSD and other layered formats

Bug #171687 reported by Horkana-users
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Wishlist
Aaron C Spike

Bug Description

PSD export would be useful in inkscape. Currently the only available
multi-layer format is XCF. PSD is much more widely supported than XCF and
inkscape doesn't need any specific features of XCF (a format which even the
gimp developers discourage other projects from using).

I had vaguely intended to do this myself but since gimp_xcf.py doesn't work
on windows and I dont have a decent development setup I'm filing this
request instead for now. (And thanks to Aaron Spike for the
encouragement)

Probably only the bare minimum of changes are required to get PSD support.
All that is likely needed is to change any occurances of "xcf" to "psd" in
the existing script and I'm 99% certain that will work (although that
touch/rename a few variables too). Aaron has said he would much rather
avoid two copies of the script, but in the short run that might be a good
idea so as to get the feature included and out to users.
If the script were reorganised it could potentially make it easier to offer
other formats like layered TIFF or maybe even MNG and other formats through
the same process, and Aaron thinks he might take that approach, if and when
he has the time.

There are a few other cosmetic details like renaming MyEffect to something
more descriptive like GIMP_Export_Something. In gimp scripts I would
always avoid abbreviations and instead of "img" I would write "image" (who
knows who will be reading the code, makes sense to keep it as simple as
possible).

If I ever get a decent developement box setup I'll take a look at improving
back compatibility or at least creating a seperate version that can work
with gimp 1.x and Cinepaint. If the script-fu part of the script were
further modularised it would make it easier, the gimp scripts have only
changed slightly over the years. Future proofing and testing with Tiny-Fu
will probably be needed too.
(A quick and dirty native C or C++ implentation of PSD support might be a
whole lot easier to be honest but I happen to know enough python and scheme
to do things this way if I could just get things organised.)

Revision history for this message
Horkana-users (horkana-users) wrote :

Originator: YES

see also
[ 1290885 ] Export, Save as Adobe Photoshop Document PSD
https://sourceforge.net/tracker/index.php?func=detail&aid=1290885&group_id=93438&atid=604309
a request for more robust PSD support, perhaps using some external library
or a native implementation.

vonHalenbach (lustik)
Changed in inkscape:
importance: Undecided → Wishlist
status: New → Confirmed
tags: added: bitmap import-export
Revision history for this message
su_v (suv-lp) wrote :

removed bug watch for [ 1290885 ] Export, Save as Adobe Photoshop Document PSD on the previously used sf.net bug tracker.

related report is now bug #170908 “Export, Save as Adobe Photoshop Document PSD”:
<https://bugs.launchpad.net/inkscape/+bug/170908>

jazzynico (jazzynico)
tags: added: exporting psd xcf
removed: import-export
Revision history for this message
jazzynico (jazzynico) wrote :

Windows XCF export issue now tracked in Bug #616193 (Gimp XCF export doesn't work on Windows).

jazzynico (jazzynico)
tags: removed: xcf
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.