Welcome to TalkGraphics.com
Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22
  1. #11
    Join Date
    Aug 2004
    Location
    The Netherlands
    Posts
    724

    Default Re: Exporting to SVG without exporting the page?

    Quote Originally Posted by mwenz View Post
    Blank Photo document is what I use...for many types of exports. No page size and so it always uses objects' bounds.
    Nice, thank you for this solution.

  2. #12
    Join Date
    Feb 2007
    Location
    UK
    Posts
    21,291

    Default Re: Exporting to SVG without exporting the page?

    it works [with ver 15.1] if you want a page size to be applied to all the vector objects - but it still exports all the vector objects and not just the selected one[s] - so I am now confused [nothing new]
    -------------------------------
    Nothing lasts forever...

  3. #13
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,910

    Default Re: Exporting to SVG without exporting the page?

    Page size does not come into it if it is a vector, it just imports into illustrator/inkscape as object[s]
    Unfortunately not so HD. It imports all the vector objects plus the page background:


    Last edited by Egg Bramhill; 19 October 2019 at 03:15 AM.
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  4. #14
    Join Date
    Aug 2004
    Location
    The Netherlands
    Posts
    724

    Default Re: Exporting to SVG without exporting the page?

    Quote Originally Posted by handrawn View Post
    it works [with ver 15.1] if you want a page size to be applied to all the vector objects - but it still exports all the vector objects and not just the selected one[s] - so I am now confused [nothing new]
    It requires pasting the selected objects into a new blank photo document, yes, but at least it decreases the number of steps I must take (resizing the page either manually or through Inkscape) to get the result I want.

  5. #15
    Join Date
    Feb 2007
    Location
    UK
    Posts
    21,291

    Default Re: Exporting to SVG without exporting the page?

    @alien - I see that, thanks, one less point of confusion

    @egg - I think you have taken my comment out of context up to a point - it depends what you mean by page size I suppose

    what it does is bring multiple objects into inkscape/illustrator as a spread [defined a bit confusingly on the inkscape status bar as a group, it cannot be ungrouped it has to be dealt with as a spread] - this spread is defined by the extent of the objects and so is not actually related to the page size of either document in my terms

    the objects can be removed from the spread in both inkscape and illustrator and so become available as seperate objects

    I don't do websites - to me a page size is what you get in, say, affinity pagemaker

    on that basis I will admit that copy paste out to a new document in ver 15.1 may only be useful for single objects....
    Last edited by handrawn; 19 October 2019 at 11:42 AM.
    -------------------------------
    Nothing lasts forever...

  6. #16
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,910

    Default Re: Exporting to SVG without exporting the page?

    I think you have taken my comment out of context up to a point - it depends what you mean by page size I suppose
    No I haven't HD. I can see that you as a non user of Xara for website creations see no issue. However for use in website creations the fact that Xara's svg export contained the page size has serious implications and great limitations of their usefulness.

    If for example you use placeholder text to import an svg into a webpage thus:

    <img src="https://mysite.com/svg/hd-4.svg" width=100% height=100% scrolling=no frameborder=0 marginheight=0 marginwidth=0>
    If the page size is included in the svg export it is almost impossible to size the object correctly.

    HERE is an example
    Last edited by Egg Bramhill; 20 October 2019 at 05:02 AM.
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  7. #17
    Join Date
    Feb 2007
    Location
    UK
    Posts
    21,291

    Default Re: Exporting to SVG without exporting the page?

    No I haven't HD
    yes you have

    I repeat it depends what you mean by page size

    My context was different to that of yours and alien's it would seem, but with respect, if people who build websites think they have a monopoly on the terminology, and that it should always be assumed the subject is web based unless stated otherwise, they are wrong

    And if the subject is web based it should be in the web design forum and not in the general graphics forum and then I might have realised there was more to it... but thank you for the explanation

    I am well known for not building websites, but I do use svg/pdf a lot for transferring vector between programs for animation, there is no page size at all in animation that is done with camera view[s]
    -------------------------------
    Nothing lasts forever...

  8. #18
    Join Date
    Feb 2007
    Location
    UK
    Posts
    21,291

    Default Re: Exporting to SVG without exporting the page?

    following on from your video

    if I export the shapes, including the [purple] A4 background, from xara 15.1 as svg and import into inkscape set to A7 size, it does not reset the page/artboard size:

    Click image for larger version. 

Name:	inksshot.png 
Views:	140 
Size:	92.2 KB 
ID:	125400

    for all I know this is because my xara document is a print document, not a web document [which I don't, obviously, use]

    what it does is export all the shapes as a spread that spans the maximum dimensions of all the included shapes

    which is how I read alien's:

    when I do this and export to SVG the result is always the entire drawing including whatever page/canvas it was on and it contains all other objects on the canvas
    bearing in mind it exports everything whether on the canvas/page or not in my case

    cross purposes

    I learnt a few things [learned if you must]
    Last edited by handrawn; 20 October 2019 at 12:33 PM. Reason: clarity i hope
    -------------------------------
    Nothing lasts forever...

  9. #19
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,910

    Default Re: Exporting to SVG without exporting the page?

    All very interesting HD

    However if you export your A4 portrait regardless of the page size it's imported into it CAN contain a second Page background vector. Not just a website issue but one I believe could impact on print documents. Not that I'm sure how an svg is handled in a print document as it just consists of vector paths.

    Here's my observations:

    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  10. #20
    Join Date
    Feb 2007
    Location
    UK
    Posts
    21,291

    Default Re: Exporting to SVG without exporting the page?

    I see that egg, thanks

    the export is taking something else into accouint re the page background - for example in my case [print document] - the export comes in correct if the page has no shadow, but wrong if it does:

    Click image for larger version. 

Name:	no shadow.jpg 
Views:	71 
Size:	29.2 KB 
ID:	125404

    Click image for larger version. 

Name:	shadow.jpg 
Views:	83 
Size:	28.9 KB 
ID:	125405

    so I can only surmise that something else in your [web] document settings is affecting the output...?

    [I tried changing my document type but it made no difference, but it's probably more subtle than just that]

    might even be affected by the version of inkscape - mine is 0.92.4 64bit

    but FTR I get same in illustrator CS2
    -------------------------------
    Nothing lasts forever...

 

 

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
  •