Inkscape.org
Using Inkscape with Other Programs Unable to save in Gimp .xcf format
  1. #1
    Okurage Okurage @Okurage

    Hello, I am Inkscape user of Japan.

    I tried saving in "Gimp .xcf" format, but I get an error.
    If you have any idea, could you give us your opinion?

    The error message and environment information are as follows.

    • Error message

    An error occurred while processing the XCF file.
    Traceback (most recent call last):
       File "gimp_xcf.py", line 284, in <module>
         e.affect ()
       File "/Applications/Inkscape.app/Contents/Resources/share/inkscape/extensions/inkex.py", line 283, in affect
         self.effect ()
       File "gimp_xcf.py", line 267, in effect
         raise GimpXCFScriptFuError
    __main__. GimpXCFScriptFuError

    • Environmental information

    Mac OS X: High Sierra
    OS version: 10.13.6
    Inkscape
    Version: 0.92.2
    XQuartz 2.7.11 (xorg-server 1.18.4)

  2. #2
    Polygon Polygon @Polygon🌶

    GIMP´s native XCF don´t seem to be included as an export option - just GIMP gradients (ggr) to read and GIMP palette (.gpl) for export.

    Why you need XCF at all?

  3. #3
    Okurage Okurage @Okurage

    Thank you for your reply.

    PixelPest

    GIMP´s native XCF don´t seem to be included as an export option - just GIMP gradients (ggr) to read and GIMP palette (.gpl) for export.

    In my Inkscape I see "GIMP.xcf" in the save menu
    Here is a screenshot of Save As

     

    I wanted to save the project file created with Inkscape in PSD format, but it was not supported, so I tried to convert it to PSD via Gimp by making it xcf.

    スクリーンショット 2020 09 20 19.08.55
  4. #4
    Polygon Polygon @Polygon🌶

    Strange - I checked before of course and I don´t get what you have:

    Again: why GIMP and not PNG or EPS for instance?

  5. #5
    Tyler Durden Tyler Durden @TylerDurden

    There was a bit of a hack to get the option. I never tried it.

  6. #6
    Xav Xav @Xav👹

    My 0.92.3, installed from the repo on Ubuntu Mate 18.04 has the option. 1.0.1 installed as a snap does not.

    I have used it in the past to get a bitmap export that preserves layers. For that reason alone I think it would be great to have this fleshed out and included as standard. A really nice touch would be to extend it to preserve the paths in the xcf file, as these can be used in The GIMP to define selection areas.

  7. #7
    Polygon Polygon @Polygon🌶

    My native macOS version from 2015 has the option but throws an error message at me for a simple 2 layer/objects file. I don´t miss.

    Just in case: GIMP can export path to SVG what I often used via color selection-to-Path for instance.

  8. #8
    Okurage Okurage @Okurage

    @TylerDurden 

    @Xav

    Thank you for the information
    Actually, I installed it with macport before and it failed, so it seems difficult for me

     

    In my opinion, Inkscape is good at handling paths and Gimp is good at expressing texture.

    Therefore, I would like to take a method of making parts with Inkscape and adjusting the texture for each part with Gimp.
    To do that, I needed to have separate layers for each part, and I was looking into how to bring the layer structure in Inkscape to Gimp.

    I thought that if I could save it as xcf, I wouldn't have to copy and modify it one by one, but it seems difficult.

  9. #9
    Polygon Polygon @Polygon🌶

    Maybe a stupid question but have you tried to open the Inkscape SVG directly with GIMP? Images and Path are still alive and editable:

     

  10. #10
    Okurage Okurage @Okurage

    No, I never thought about it.
    It was a blind spot, thank you so much for telling me.

    It's a pity that the layer structure isn't preserved, but I think it's enough because it can be decomposed using a path.

    Thank you everyone.