LionelD Posted December 13, 2024 Posted December 13, 2024 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 Is this a new bug? 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 Quote
LionelD Posted December 13, 2024 Author Posted December 13, 2024 @Dan C I think I may posted this in the wrong place. Please move it if necessary. Thanks Quote
David in Яuislip Posted December 13, 2024 Posted December 13, 2024 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 Quote 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
LionelD Posted December 13, 2024 Author Posted December 13, 2024 @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 Quote
David in Яuislip Posted December 13, 2024 Posted December 13, 2024 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 Quote 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
LionelD Posted December 13, 2024 Author Posted December 13, 2024 @David in Яuislip Thanks for the feedback, very informative. That curve is the same wrong one I’m now getting when I export the source file. And some of my files appear to be unaffected. Regards Quote
Recommended Posts
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.