Pierre Lannoy Posted April 17, 2020 Share Posted April 17, 2020 Hello all! Here's a bug which is reproducible in Designer, Photo and and Publisher. When exporting as SVG, masks are not correctly exported. You can find a first analysis by @thomaso with sample files showing the issue here: My conf is iMac 27" 64Go / Core I7 4.2 / Catalina 10.15.4 It is reproducible too on a MBP 16" with similar config. Quote Link to comment Share on other sites More sharing options...
Pierre Lannoy Posted April 18, 2020 Author Share Posted April 18, 2020 Hello @MEB! I have notifications (in my mailbox) about answers you made on this post, but I can't see it here. Am I missing something? (sorry I'm new on this forum, and don't know it works). Quote Link to comment Share on other sites More sharing options...
Staff MEB Posted April 19, 2020 Staff Share Posted April 19, 2020 Hi Pierre Lannoy, You can ignore them. I stumbled upon a few other issues while checking your file/report (and gave an incorrect answer due to some some setting changes/error on my part) so i've deleted it. The mask issue is already logged to be looked at. Thanks. Pierre Lannoy 1 Quote A Guide to Learning Affinity Software | Affinity Quick Reference Link to comment Share on other sites More sharing options...
Pierre Lannoy Posted April 19, 2020 Author Share Posted April 19, 2020 1 minute ago, MEB said: The mask issue is already logged to be looked at. Wow! Thank you so much for that.. Can't wait for this to be fixed Thanks again. Quote Link to comment Share on other sites More sharing options...
Staff MEB Posted April 24, 2020 Staff Share Posted April 24, 2020 Hi Pierre Lannoy, Your logo.afphoto file contains an artboard which can only be created in either Affinity Designer or Publisher. Can you detail how have you created this file originally please? Did it started in one of these programs and was opened in Photo as saved as a afphoto file or any other method? How did the artboard end up there? Thanks. Quote A Guide to Learning Affinity Software | Affinity Quick Reference Link to comment Share on other sites More sharing options...
Pierre Lannoy Posted April 25, 2020 Author Share Posted April 25, 2020 Helo @MEB! This file is coming, initially, from illustrator (from one of my colleague), then opened in Designer or Photo by me (minor adjustments, final layout, export as SVG with not rasterization, then archiving as .afphoto generally). The goal is to produce a SVG which will be included in a resource file for a software (that's why I don't rasterize). It's a process I carry out routinely and without the slightest problem usually. But that's the first time it contains a grayscale gradient mask. Don't hesitate if you have any other question... Quote Link to comment Share on other sites More sharing options...
Staff MEB Posted April 27, 2020 Staff Share Posted April 27, 2020 Hi Pierre Lannoy, Thanks for the info. You said the file come from illustrator. Do you mind uploading the original file in whatever format they sent you please? We have stumble upon a few issues we'd like to check out. Here's an upload link to send it directly to us.Thank you for your support. Quote A Guide to Learning Affinity Software | Affinity Quick Reference Link to comment Share on other sites More sharing options...
Pierre Lannoy Posted April 27, 2020 Author Share Posted April 27, 2020 Hello @MEB! I've just sent the file. Hope it helps to understand what's going on... MEB 1 Quote Link to comment Share on other sites More sharing options...
Pierre Lannoy Posted May 25, 2020 Author Share Posted May 25, 2020 Hello @MEB! Any news on this? Have you received my file? Quote Link to comment Share on other sites More sharing options...
Pierre Lannoy Posted July 6, 2020 Author Share Posted July 6, 2020 Hello @MEB! Sorry to bother you, do you have some news on this bug? Thanks Quote Link to comment Share on other sites More sharing options...
Pierre Lannoy Posted July 10, 2020 Author Share Posted July 10, 2020 Dear Affinity team and @MEB I'm really sorry to insist, but I've reached a real sticking point... I reported this bug 3 months ago. This bug impacts Photo, Publisher and Designer and no one tells me if this bug is taken into account and/or gives me an ETA for a fix. I have bought (and use) 3 softwares that have a defect that prevents me from doing my job as it should be done. What am I supposed to do? Consider that this bug will never be solved and change my tools? Wait? Please, can you answer me on this bug? Quote Link to comment Share on other sites More sharing options...
Staff MEB Posted July 10, 2020 Staff Share Posted July 10, 2020 Hi Pierre Lannoy, Please accept my apologies for the delay/lack of info, I got sidetracked by other things/issues despite the various bumps. I did checked the file and passed it to the dev team but we discovered a few issues that needed to be checked (thus the request to the Ai file) - namely the afphoto file crashing Affinity Publisher on opening - an issue related with multi-page view (caused by artboards maybe) which shouldn't be happening. We weren't yet able to replicate whatever changes were made to your afphoto file to make it crash Publisher and are still investigating it. Regarding the SVG export, the issue comes from the Ai import in Affinity Photo as well. As you probably know we are only able to access the PDF stream included in the file and when imported to Affinity Photo any opacity masks associated/linked to a shape are rasterised (whereas Illustrator keep them as editable gradients) this results in the various raster masks nested to the problematic shapes you see when you open the Ai file in Affinity Photo. When you then export them from Affinity Photo to SVG (for export preset), these raster masks force the rasterisation of the vector objects they are nested to leading to a correct output visually but still with rasterised elements on the SVG file obviously. Setting Rasterise to nothing (More button in the Export dialog) is not intended to prevent this - the mask is already a raster object anyway - and if not processed leads to the unexpected results you are getting/seeing (no raster elements in the SVG but incorrect output visually). In other words, we need to improve the Ai import/be able to retain the attributes of opacity masks (as gradients) to correctly output the SVG files without rasterising certain elements. I'm logging/passing this to the dev team for consideration as an improvement but i have no idea/eta for when or if this will/can be implemented. Meanwhile re-creating these problematic objects + raster masks with gradients and transparency (as they were originally created in Illustrator) will allow you to export them as vector elements to SVG from Affinity Photo without issues. Quote A Guide to Learning Affinity Software | Affinity Quick Reference Link to comment Share on other sites More sharing options...
Pierre Lannoy Posted August 11, 2020 Author Share Posted August 11, 2020 Thanks for this answer MEB. Quote Link to comment Share on other sites More sharing options...
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.