Welcome to TalkGraphics.com
Page 5 of 5 FirstFirst ... 345
Results 41 to 48 of 48
  1. #41

    Default Re: SVG import / export status ?

    Aaarrgghh.. I think I've found the problem.

    Yes. Right now you want to make sure xarasvgfilter is on the path. More to the point you want to make sure an old version of xaraxvgfilter is NOT on the path. Autopackage should do this for you. The tarball probably won't. We will fix this, so the path is irrelevant.

    Alex
    IP

  2. #42
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    21

    Default Re: SVG import / export status ?

    Autopackage was kicked out (too difficult for me )

    Xara unpacked from tar archive and correctly path exproted in .xinitrc. Now all works without trouble (simply import svg too)
    IP

  3. #43

    Default Re: SVG import / export status ?

    Gerry - This is excellent ! That SVG-to-*.xar import/conversion
    works great for me, even on slightly older releases (as far back as
    three days ago :-)

    Since you are familiar with this command line function, perhaps
    you can suggest a similar command line sequence for EXPORTING
    SVG from a finished *.xar file ?
    (note - I tried many variations of the command you had suggested for
    import, trying to export the SVG - but all without success) - here are
    a few I tried which failed:
    xarasvgfilter -e file.svg < file.xar
    xarasvgfilter -e file.xar > -x file.svg
    ...note, again, these aren't documented syntax, just guessing... I dont
    see any documentation for those binaries.

    Also, Gerry, or anyone in the know... what difference is there
    between the two binaries xarasvgfilter /and/ xarasvgfilterui ?
    It occurred to me, since xarasvgfilter worked for importing, the
    other might be for export ? If so, still lacking syntax for an actual
    command line export.

    much thanks / stuseven



    Quote Originally Posted by GerryI View Post
    Hello,

    Can you try running the filter from the command line, e.g.

    xarasvgfilter -i -f inputfile.svg > outputfile.xar

    ...should convert the svg file to a xar file which you should be able to load into XaraLX.

    xarasvgfilter -c -f inputfile.svg

    ...should print a number between 0 and 10 (0 if it isn't an SVG file and 10 if it is).

    Cheers,
    Gerry
    IP

  4. #44
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    21

    Default Re: SVG import / export status ?

    Usage: xarasvgfilter [-h] [-v] [-g] [-p] [-e] [-c] [-i] [-z] [-f <str>] [-x <str>]
    -h, --help show this help message
    -v, --verbose be verbose
    -g, --progress give progress
    -p, --prepareexport prepare export
    -e, --export do export
    -c, --canimport can import
    -i, --import do import
    -z, --compress (de)compress (output) input file
    -f, --file=<str> input/output file
    -x, --xmlfile=<str> xml configuration file

    I suppose export not ready yet.

    xarasvgfilter -e -f inputfile.xar -x outputfile.svg
    Last edited by Korab; 13 August 2006 at 01:41 AM.
    IP

  5. #45
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    21

    Default Re: SVG import / export status ?

    but remember it call xarasvgfilterui
    Last edited by Korab; 13 August 2006 at 01:57 AM.
    IP

  6. #46

    Default Re: SVG import / export status ?

    Quote Originally Posted by stuseven View Post
    Gerry - This is excellent ! That SVG-to-*.xar import/conversion
    works great for me, even on slightly older releases (as far back as
    three days ago :-)
    I don't think export is working. But you can read all about the internals of the filter system here

    To answer the other question, svgfilterui is the program that brings up a dialog box to ask you about import and export parameters. I don't think it's currently used.

    Alex
    IP

  7. #47
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    21

    Default Re: SVG import / export status ?

    Hello Alex

    You can see this dialog (choice svg format 1,1 or 1,2) when try export from Xara to svg.

    Other hand, you can type somthing like :

    xarasvgfilterui -e -f inputfile.xar -x outputfile.svg - will be displayed
    IP

  8. #48

    Default Re: SVG import / export status ?

    + interesting reading... thanks Alex... should make a good project !

    Quote Originally Posted by abligh View Post
    I don't think export is working. But you can read all about the internals of the filter system here

    To answer the other question, svgfilterui is the program that brings up a dialog box to ask you about import and export parameters. I don't think it's currently used.

    Alex
    IP

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •