I know well that are several similar script but none may do what i need
The script should export all layers of a xcf as png(or jpg ) using
the Layer names as name for the new images
In case 2 names identical should add a progressive numeric prefix (or post fix ) to avoid overwriting
The names to use may be pretty long, this is a layer name
[G'MIC] Graphic Novel FX : -gimp_photocomix_booost2 1,4.36364,10.4727,5,20,0.12,14,0,0.5,0.54,2.90909,9,0.936364,1,0.5,0.54,0.78
that should become
[G'MIC] Graphic Novel FX : -gimp_photocomix_booost2 1,4.36364,10.4727,5,20,0.12,14,0,0.5,0.54,2.90909,9,0.936364,1,0.5,0.54,0.78
.pngor in case another layer already saved with same name
1_[G'MIC] Graphic Novel FX : -gimp_photocomix_booost2 1,4.36364,10.4727,5,20,0.12,14,0,0.5,0.54,2.90909,9,0.936364,1,0.5,0.54,0.78
.pngI
n many cases i strictly need only the first part as
[G'MIC] Graphic Novel FX : -gimp_photocomix_booost2
.pngbut would be much better if all the name used without shortening
a xcf with similar long names is here
http://www.box.net/shared/sfslkllqoa