vjsouza Posted February 14, 2017 Share Posted February 14, 2017 The issues are in the attached documents. Open the .afdesign document and try to export to pdf yourself. Count the minutes. Open the rendered .pdf generated by Affinity. Compare it with the PDF generated by Illustrator. Quality and file sizes. Until when? Moebius CMYK linear gradients (Affinity).pdf Moebius CMYK linear gradients (Illustrator).pdf Moebius CMYK linear gradients.afdesign Moebius CMYK linear gradients.ai LCamachoDesign 1 Quote Link to comment Share on other sites More sharing options...
MikeW Posted February 14, 2017 Share Posted February 14, 2017 Yes, it is silly what the PDF export does. And that is aside from the painful wait time for the dialog box to inform one that there are some areas that will be rasterized in the first place. Make a change to which profile to see if that will make a difference? Another wait. One needs to rebuild the Mobius in order to get it out without rasterization, or even simply choose not to rasterize. There will be a change to the gradients (mainly the gold one's appearance), but then AD will export a decent file. Nothing else I use has this limitation. Fixx 1 Quote Link to comment Share on other sites More sharing options...
Scungio Posted February 14, 2017 Share Posted February 14, 2017 I opened both of your example files and have some questions for you. I don't know if this will help or not but here we go... With the Illustrator file it shows a transparent background, in the affinity file it does not have the transparent background. When I look at the Illustrator file, the gradients for the curves of your Mobius look as I expect them to, but not so in the affinity file. I guess I just don't understand how the curves and the gradients were put together. Do you have a gradient applied to a square in each instance and then have the curve act as a mask? Why? I was expecting to select the curves shape and then see the gradient widget but that wasn't the case. I was able to separate the square from the curve and copy the gradient positions/style of the square to the curve, I just don't understand why this masking needs to be done, what are the benefits of this approach? I am just genuinely interested in why the Illustrator file was pretty straightforward but the Affinity file seems needlessly more complex? Quote Link to comment Share on other sites More sharing options...
LCamachoDesign Posted February 14, 2017 Share Posted February 14, 2017 I was not aware that gradients were being exported as bitmaps, I've tested things a bit and seems like any gradient will be exported as either a bitmap or non-native art. An improvement to this situation is required indeed. Thanks! Quote Link to comment Share on other sites More sharing options...
MikeW Posted February 14, 2017 Share Posted February 14, 2017 I was not aware that gradients were being exported as bitmaps, I've tested things a bit and seems like any gradient will be exported as either a bitmap or non-native art. An improvement to this situation is required indeed. Thanks! It has to do with multiple stops. AD can only output as vector a gradient that has no mid-point stops. So if you choose to Rasterize Nothing, generally AD will strip the mid-point stops and it will output as vector. Other applications (inluding AI) get around this be evaluating the stops and creating intermediary 50% stops in their gradients--something that will still cause AD to output a gradient as a bitmap if one creates multiple 50% stops. And yes, Serif needs to rectify this silly limitation. LilleG 1 Quote Link to comment Share on other sites More sharing options...
LCamachoDesign Posted February 14, 2017 Share Posted February 14, 2017 Do you have a gradient applied to a square in each instance and then have the curve act as a mask? Why? I think that's because OP created the file in Illustrator first and then imported it into Affinity. That will create these sort of masks and stuff. But the issue mentioned happens even with a plain square shape created natively in Affinity. It has to do with multiple stops. AD can only output as vector a gradient that has no mid-point stops. So if you choose to Rasterize Nothing, generally AD will strip the mid-point stops and it will output as vector. Other applications (inluding AI) get around this be evaluating the stops and creating intermediary 50% stops in their gradients--something that will still cause AD to output a gradient as a bitmap if one creates multiple 50% stops. And yes, Serif needs to rectify this silly limitation. I'm getting the issue even with simple two point stops. :/ Quote Link to comment Share on other sites More sharing options...
MikeW Posted February 14, 2017 Share Posted February 14, 2017 It depends. I can usually make other people's designs work, and knowing the limitations, I haven't had issues. But yes, the import of the AI PDF should have been a bit rebuilt. The attached PDF is all vector. Moebius CMYK linear gradients MODIFIED.pdf Quote Link to comment Share on other sites More sharing options...
LCamachoDesign Posted February 14, 2017 Share Posted February 14, 2017 It depends. I can usually make other people's designs work, and knowing the limitations, I haven't had issues. But yes, the import of the AI PDF should have been a bit rebuilt. The attached PDF is all vector. It's vector, but not editable vectors. It's <Non-Native Art>, it should be a <Path> instead so it's anchors are editable. Thanks! Quote Link to comment Share on other sites More sharing options...
MikeW Posted February 14, 2017 Share Posted February 14, 2017 Yes, it should be the same path--it is still a path--as in AD. But like the EPS export, it has many more nodes added. Quote Link to comment Share on other sites More sharing options...
Scungio Posted February 15, 2017 Share Posted February 15, 2017 Okay, that makes sense now if the Illustrator file was brought into Affinity and not built/recreated from scratch within Designer. But it does make for an important point. If we want to report bugs or issues with a file from Affinity, it should be a file natively created in Affinity. I could probably take an Illustrator file and use Astute Graphics plugins and create a piece, and manage to get it into Affinity Designer. But then if I have problems arise in Designer how can I expect the Affinity team to troubleshoot it? I did not know about the issues with the gradients and CMYK. Very informative thread all the way around. Quote Link to comment Share on other sites More sharing options...
MikeW Posted February 15, 2017 Share Posted February 15, 2017 Clipped gradients should respond exactly like native built ones. If and when this is ever fixed so multi-stop gradients work properly, the OP's file will also output fine. Quote Link to comment Share on other sites More sharing options...
vjsouza Posted February 15, 2017 Author Share Posted February 15, 2017 I opened both of your example files and have some questions for you. I don't know if this will help or not but here we go... With the Illustrator file it shows a transparent background, in the affinity file it does not have the transparent background. When I look at the Illustrator file, the gradients for the curves of your Mobius look as I expect them to, but not so in the affinity file. I guess I just don't understand how the curves and the gradients were put together. Do you have a gradient applied to a square in each instance and then have the curve act as a mask? Why? I was expecting to select the curves shape and then see the gradient widget but that wasn't the case. I was able to separate the square from the curve and copy the gradient positions/style of the square to the curve, I just don't understand why this masking needs to be done, what are the benefits of this approach? I am just genuinely interested in why the Illustrator file was pretty straightforward but the Affinity file seems needlessly more complex? Illustrator exports the PDF in this way. The gradient does not lie in the object, but in a rectangle, and it uses the object as a mask. It does not matter if the gradient is in the object or in a masked rectangle. Affinity will rasterize everything in bitmap! Quote Link to comment Share on other sites More sharing options...
MikeW Posted February 15, 2017 Share Posted February 15, 2017 vjsouza, As can be seen in my PDF example, there is a means of getting vector out. It is just that if you or another person is going to use AD for work involving gradients, one must use the software within its gradients limitations. It sort of sucks this is the case and hopefully this issue and the number of nodes issue will be dealt with by Serif--both of which prevent me from using AD on a regular basis. Mike Quote Link to comment Share on other sites More sharing options...
LCamachoDesign Posted February 17, 2017 Share Posted February 17, 2017 BTW, shouldn't this be posted in the bugs, or feature request section? Has someone done that yet? Otherwise I'll post it myself. Thanks! Quote Link to comment Share on other sites More sharing options...
vjsouza Posted February 18, 2017 Author Share Posted February 18, 2017 I think I found the root of the problem. Please open the attached document for more information. Indeed, Affinity Designer has disappointed me! Gradients in Affinity Designer.afdesign Quote Link to comment Share on other sites More sharing options...
LCamachoDesign Posted February 18, 2017 Share Posted February 18, 2017 I think I know what's going on, when you export a PDF and open it in Adobe Reader it will say that it was created by PDFlib+PDI 9.0.5 I've searched online and that is a PDF output library sold by a German company. They do have a new version out, 9.1, and one of the new features is "Color gradients with an arbitrary number of stop colors for flexible color blends" and also "Color gradients between different spot colors, e.g. blends of Pantone colors". So, it seems like all Serif has to do it purchase the new version and we should be good to go? The changelog includes other neat things too, have a look: https://www.pdflib.com/products/pdflib-family/new-features-in-pdflib-9/ P.S.: This means the rasterization of gradients it not Affinity's fault, but rather a limitation of the external PDF library used. Good to know. Alfred 1 Quote Link to comment Share on other sites More sharing options...
MikeW Posted February 18, 2017 Share Posted February 18, 2017 Yes, I have also requested that Serif (and another company that uses PDFLib) to keep more up to date. What I don't know is whether an update such as this also requires coding updates/changes. The PDF library I used in a past programmer life was pretty much load & go to maintain prior coding. However, my coding needed altered and fleshed to take advantages of the new features in the library. Quote Link to comment Share on other sites More sharing options...
SrPx Posted February 22, 2017 Share Posted February 22, 2017 Thank you very much for this deep and informative thread ! I did not know several details explained here. Did hit the 'follow' button with a passion. Good to know though that if using no midpoint stops and setting to not rasterizing I'd be good to go for those projects that allow me so (those that are fine using simple gradients, which in my case, are a bunch)... Anyway, very good to know that is only a PDF export matter, other formats might work perfectly. Yeah, in the software company I worked at (until some years ago, is almost recent), updating a library was sometimes only a matter of replacing some files and some config settings, in other cases, a world of issues. Also, dunno the pricing for commercial embedded distribution. In game companies (at which I also worked) things like that could be from free or cheap, till 10k $ or the issue : much more. So, who knows Quote AD, AP and APub. V1.10.6 (not using v1.x anymore) and V2.4.x. Windows 10 and Windows 11. Link to comment Share on other sites More sharing options...
Dave Harris Posted February 28, 2017 Share Posted February 28, 2017 Until when? Until 1.6. This is something we've been aware of but haven't had time to address until now. In 1.6 the Mobius file exports without rasterisation. This is not using PDFLib 9.1. We are looking at using that for other reasons. LCamachoDesign, SrPx, LilleG and 1 other 4 Quote Link to comment Share on other sites More sharing options...
ianrobertdouglas Posted April 7, 2017 Share Posted April 7, 2017 Seriously, this whole thing makes me very angry. I cannot export a "vector gradient" created in Affinity as vector? Then when is 1.6 coming out??? 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.