Jump to content

Recommended Posts

Posted

I’m running Sequoia 15.2 on M3 MBP and iPadOS 18.2 on 2019 iPad Pro with latest published AD2 in each case.

On MBP

My source file was created on MBP, with global colors in a document palette and several custom Export Persona presets.  Export of one design element to .SVG using an Export Persona preset gets gradient colors wrong.  When I noticed the problem, I copied one curve from that design element to a separate file (attached) to isolate the problem.  In the isolating file, exporting the curve as .SVG using the same  Export Persona preset gets the gradient wrong in the same way.

On iPad

I airdropped the attached .afdesign and its .SVG export to my iPad, and renamed the .SVG to preserve it.

My airdropped file displays correctly on iPad.  Export Persona acknowledges my preset, and I exported that curve under the same Export preset (which I obviously did not edit on iPad).  iPad Export of my sample curve has problem is also wrong, looks exactly like what I got from MBP.

The attached file does not include the document palette; if you need it, let me know.

Background

This problem potentially affects hundreds of files, and I have already identified multiple files that are definitely affected.  In most cases I have not noticed this problem, but I’ll have to be more attentive now.

I have tried all the .SVG formats that AD2 offers on my MBP; they all give the same incorrect results.

Questions

  1. Is this a new bug?
  2. Does AD2 provide an export file format that delivers  correctly colored interoperable vector curves with embedded color profile inherited from source document (16-Bit ProPhoto)?

- Motif.svg 500 Abstract 005(001) M(P) SVG Export.afdesign 500 Abstract 005(001) M(P) SVG Export - Motif (Airdrop from MBP).svg

Posted

Motif.svg opened wrongly in Chrome and caused Inkscape to crash. Opened & saved in Photo fixed it, only difference is the gradientTransform
bad
gradientTransform="matrix(170.023,-1.99242e-06,1947.31,1.73962e-07,765.889,2910.46)"
good
gradientTransform="matrix(170.023,-1.99242e-06,1.99242e-06,170.023,765.889,2910.46)"

Stop-colors are #00f & #fd0000, can't open the afdesign file as I use V1

svg uses 8bit colours, generally sRGB. I've been reading about applying other profiles eg P3 using css but I doubt that Affinity will be doing that. I would convert the source 16-Bit ProPhoto to 8-Bit sRGB then adjust to taste before export, no idea about other vector formats

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

@David in Яuislip Well, thanks for the feedback.  Here it opened in Safari with no problem.

If I export as .eps it gets the colors correct, but there are images in that file which don’t suit my purpose, so I may not be able to use that format.

Interesting that it caused Inkscape to crash.  Seems pretty certain that the AD2 SVG export is broken.

How do you move vectors between AD and Inkscape?

Regards

Posted

Copying objects to Inkscape and back works well if the copy items as svg box is ticked in Preferences
Affinity svg parser has always been awful, I don't use it for anything serious, much prefer Inkscape
Here's what it looks like in Chrome

ChromeView2.png

ChromeView.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

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.