Jump to content

Recommended Posts

Posted (edited)

bug: Affinity is unable to show mesh gradients from Inkscape SVG files (it shows a blank area instead)

This bug happens in Affinity Designer 2, Photo 2 and Publisher 2 (version is 2.5.7) on Windows 10

The bug happens with regular Inkscape SVG files and also for plain SVG files.

 

This is how the original SVG looks like in Inkscape:

inkscape_editor.PNG.42c460a2a3f8daeb748364c725318138.PNG

 

This is how the SVG looks like in Google Chrome:

chrome.PNG.f17a9a5172ed8058ebf50db495de9995.PNG

 

This is how the SVG looks like in Affinity:

affinity.thumb.PNG.bf16f281c55bc9cde0a77b375e9adaa2.PNG

The hardware acceleration is not available in my machine. I tried the 'dither gradient' and 'precise clipping' options instead but the output did not change.

To reproduce the issue, open Inkscape then create your own object with gradient mesh, (here is the tutorial: https://inkscape-manuals.readthedocs.io/en/latest/creating-a-mesh-gradient.html ) then saves it as inkscape svg or plain svg then open this file in Affinity Designer, Photo or Publisher.

Inkscape_SVG.svg plain_SVG.svg

Edited by le2222
Posted

Hi @le2222 and welcome to the forums.

This may seem like a bug, but it's just a lack of functions. Unfortunately, the Affinity programmes only support a subset of SVG.

MAC mini M4 | MacOS Sequoia 15.3.2 | 16 GB RAM | 256 GB SSD 
AMD Ryzen 7 5700X | INTEL Arc A770 LE 16 GB  | 32 GB DDR4 3200MHz | Windows 11 Pro 24H2 (26100.3194)

Affinity Suite V 2.6.1  & Beta 2.6 (latest)
Interested in a free (selfhosted) PDF Solution? Have a look at Stirling PDF

I already had a halo, but it didn't suit me!

Posted (edited)

@Komatös Affinity DOES HAVE the Mesh Warp feature (it's not missing!). The problems are:


1- Objects made with Inkscape Mesh won't show up properly in Affinity (or won't show up at all)

2- There is no error message warning the user about the missing parts/elements!

 

For example when an user opens a document with a missing font, they get an alert message so they know that what they see is not exactly the content of the original file.

However in this current situation, Affinity just opens the file in the wrong way and don't let the user know that what they see is not exactly what that file meant to be!

Edited by le2222
Posted
14 minutes ago, le2222 said:

However in this current situation,

Yes, Affinity Designer can do mesh warp, but not filling with vector gradients!
Bitmap filling, on the other hand, is no problem.

MAC mini M4 | MacOS Sequoia 15.3.2 | 16 GB RAM | 256 GB SSD 
AMD Ryzen 7 5700X | INTEL Arc A770 LE 16 GB  | 32 GB DDR4 3200MHz | Windows 11 Pro 24H2 (26100.3194)

Affinity Suite V 2.6.1  & Beta 2.6 (latest)
Interested in a free (selfhosted) PDF Solution? Have a look at Stirling PDF

I already had a halo, but it didn't suit me!

Posted

SVG gradients are defined for linear and radial types, this may change if SVG 2.0 is ever published
Mesh gradients by Inkscape are shown by browsers which display the polyfill
It is unreasonable to expect any software to warn of not supporting what is essentially Inkscape proprietary markup

SVG2Warning.png

Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe
Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10

Posted (edited)

It is the responsibility of the software that supposedly opens SVGs from other sources to notify the user that there are elements in the file that were not imported correctly due to lack of support. Otherwise, the user would never know if the loaded image is flawless or corrupted.

Edited by le2222
  • 2 weeks later...

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.