Jump to content

Exporting as SVG: Pixelating when zooming in - What am I doing wrong?


Recommended Posts

Actually I'm in my trial period of "Affinity Design" and want to modify an SVG file. I got this SVG file from a designer as a banner for my website.

Some weeks ago I used "InkScape" to add a shadow to the image and exported it again as an SVG file. It is 15 KB in size and doesn't pixelate when zooming in.

image.png.31e8551b7b82ebee7efa5cb449f2694b.png

Now I want to try the same with "Affinity Designer" and I'm wondering that this seems not to work.

I opened the original SVG file and put a shadow on it.

image.png.ba94db8a01b543f8e150c003f22bcb43.png

After that everything looks good and I save this file as an afdesign-file. Here I can zoom in without pixelating.

image.png.a28468a7ba2304d6aa0c73c524badaad.png

Now I want to export this as an SVG file for using it on my website. The only profile that doesn't pixelate is "Digital - High Qualitiy" with 300 dpi.

image.png.5fee22b82bce0276bbcf43c31c51e456.png

But as you can see the file size is 2 MB. This SVG file I'm able to zoom in perfectly in "Affinity Designer" or browser.

image.png.1dd03d10b4adaae754e5f2a1678398ac.png

When exporting using the profile "Digital - Small Size" with 72 dpi zooming in is pixelating in "Affinity Designer" or browser. And the size of this file is 300 KB.

image.png.97a5cbcfabb64aba15d84f6cfa091bb2.png

image.png.b7bc547eed3f0d11916aa94055a583ed.png

I could change dpi to 144 but still there is a little pixelating when zooming in and the file size is 760 KB.

image.png.3812012daaca94260646f69f9ce45fab.png

image.png.b955300a247dd2d0e98eb78983b1fa73.png

What could be the problem? Am I doing something wrong? I don't understand why I have to export with 300 dpi or more to prevent pixelating and get such a big file size. Any help? :/

Edited by DenalB
Link to comment
Share on other sites

I know that a lot could be added with the help of css. Actually I'm using the svg with shadows created with "InkScape". It must be possible to include the shadows into the svg. But how can I do this in "Affinity Designer"?

48 minutes ago, BofG said:

The shadow effect requires rasterisation on export.

How can I do this? :/

Link to comment
Share on other sites

13 minutes ago, BofG said:

Designer isn't that great at authoring SVG, it falls back to the raster image approach on a number of things that SVG can natively support like blending modes and shadows.

That's a pity. I thought that I could switch to "Affinity Designer". :/

 

15 minutes ago, BofG said:

<h1 style="color:#FFF;text-shadow:1px 4px 10px #000">WAY</h1>

If you want to use the svg, create it without the shadow, with the text as curves and you can then target those paths with css and use box-shadow.

Thanks a lot. I will try and see if this is working for me. 👍

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.