Jump to content
You must now use your email address to sign in [click for more info] ×

Crop artboard for SVG export


Recommended Posts

Hi Affinities :)

I have the following issue:

I have an artboard that has vector elements that go outside the artboard.

image.png.09534f94d3f632325803b18b27b60550.png

Now I want to export that artboard as an SVG (in vectors, not rasterized) but limited to the artboard measurements/borders.

When i export it though, it deformes and squeezes/skews everything in a way I don't understand.
Exported as a PNG works fine (I assume it's because it's rasterized).

Wanted result:
image.png.319e4321f27893cff740db20facce9f7.png

What I get:
image.png.a24ea14f8e530a6a1b31e126578c2467.png

 

Link to comment
Share on other sites

I just realized when I uploaded my latest test file that it seems solved in there and I might have the root of these problems:

I assume this doubled line on the transparency gradient is due to transforming the object after the gradient is set. as soon as I have these, I get the weird behavior. if I reset the gradient, it seems to work fine.

anyone can confirm (that it's not just something different on my end)?

image.png.d5c75e6e706d00b68a2223f72c43844b.png

Link to comment
Share on other sites

  • Staff

HI @JokeRat,

2 minutes ago, JokeRat said:

I assume this doubled line on the transparency gradient is due to transforming the object after the gradient is set. as soon as I have these, I get the weird behavior. if I reset the gradient, it seems to work fine.

 

I think you might be running into the same issue as here and transforming the object is giving you the double transparency, which the SVG format can't support.  I've just replicated the behaviour of transforming the object and i got the same as yourself with the double line transparency, i'm going to check if thats expected behaviour, as i can see it could cause problems.

Link to comment
Share on other sites

Thanks for your reply stokerg,

It seems like it is how you describe it. But from my point of view that can't be an expected behavior, as it results in unnecessary work, because I have to redraw the transparency gradients for every item when I deform the whole group just a little.

I'd expect it to either deform the transparency with the object (i.e. squeeze it together) or at least leave the transparency as it is. (i.e. don't adjust to the squeeze).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.