ProjectOxide Posted July 7, 2019 Share Posted July 7, 2019 Hi everyone, I'm trying to figure out if there's a way to use line pressure on strokes and have it output cleanly. When working on it in affinity, the line caps are nice and smooth even with line pressure, however when exporting as pdf, svg, or eps, I noticed the line caps become blocky. The line caps and join are both set to rounded, thus why it looks great in program, but something seems to happen during the export (selection with no background - also tried different presents export/web/print/etc). Looking around through the image, it seems like this occurs specifically on lines where I had used the line pressure feature. I think it's a fantastic function but I'm not sure if I'm doing something wrong that results in this problem. Are there any ideas how to resolve this? Thanks! Quote Link to comment Share on other sites More sharing options...
PixelPest Posted July 7, 2019 Share Posted July 7, 2019 You don´t have to export to check the discrepancy in the output: just call for ->Layers->Expand Stroke. Fun thing is the larger the shapes/canvas the more accurate the export. In Inkscape we can adjust accuracy for SVG-output. Cheers Quote Link to comment Share on other sites More sharing options...
ProjectOxide Posted July 7, 2019 Author Share Posted July 7, 2019 25 minutes ago, PixelPest said: You don´t have to export to check the discrepancy in the output: just call for ->Layers->Expand Stroke. Fun thing is the larger the shapes/canvas the more accurate the export. In Inkscape we can adjust accuracy for SVG-output. Cheers So that helps at least, to check if things are going wrong. It's was a letter size 300 DPI PSD brought into affinity so it's decently large. Does that imply that even though I have a shape in affinity, it can't actually output it properly and I have to use a separate program to adjust accuracy at the end? Quote Link to comment Share on other sites More sharing options...
ProjectOxide Posted July 13, 2019 Author Share Posted July 13, 2019 I've continued to test things to no avail and haven't found a proper solution yet. At someone else's suggestion, I tried downgrading to 1.7.0 and 1.6.5 but the problem persists. I've also tried doubling / tripling the size of the document and then exporting, and while the results were improved, there were still the odd artefact lying around. Besides manually correcting individual nodes after expanding stroke and losing the flexibility to adjust the stroke, it doesn't seem like it there's a fix for this. Is anyone else able to weigh in? Quote Link to comment Share on other sites More sharing options...
gdenby Posted July 13, 2019 Share Posted July 13, 2019 It appears the .svg export routine generates all sharp points. Bring the .svg export back into Designer, and, in node mode, select the nodes at the ends, and change the nodes to smooth. Re-export. Quote iMac 27" Retina, c. 2015: OS X 10.11.5: 3.3 GHz I c-5: 32 Gb, AMD Radeon R9 M290 2048 Mb iPad 12.9" Retina, iOS 10, 512 Gb, Apple pencil Huion WH1409 tablet Link to comment Share on other sites More sharing options...
ProjectOxide Posted July 13, 2019 Author Share Posted July 13, 2019 16 minutes ago, gdenby said: It appears the .svg export routine generates all sharp points. Bring the .svg export back into Designer, and, in node mode, select the nodes at the ends, and change the nodes to smooth. Re-export. That definitely helped a smidge, but they're kind of bow shaped at the ends now. Not as point, but not circular either. I tried switching them to smooth, and smoothing the path afterwards as well. Quote Link to comment Share on other sites More sharing options...
PixelPest Posted July 13, 2019 Share Posted July 13, 2019 Try export SVG (for web). It will plot curves per pixel resolution it seems. Cheers Quote Link to comment Share on other sites More sharing options...
ProjectOxide Posted July 14, 2019 Author Share Posted July 14, 2019 16 hours ago, PixelPest said: Try export SVG (for web). It will plot curves per pixel resolution it seems. Cheers Unfortunately it doesn't work. Would anyone know if Illustrator has a similar issue with varied line widths and their caps? Quote Link to comment Share on other sites More sharing options...
dr_who Posted July 14, 2019 Share Posted July 14, 2019 The malfunctioning expanding of strokes is a long-standing issue that unfortunately saw no improvements in 1.7. It’s a critical flaw keeping a lot of us at bay for now. The only workaround is to resort to 3rd party apps like Inkscape to do the conversion. Quote Link to comment Share on other sites More sharing options...
PixelPest Posted July 15, 2019 Share Posted July 15, 2019 On 7/14/2019 at 3:06 PM, ProjectOxide said: Unfortunately it doesn't work. Would anyone know if Illustrator has a similar issue with varied line widths and their caps? Mmmh - that is strange; I tested before suggesting. Mandala.svg Quote Link to comment Share on other sites More sharing options...
JimmyJack Posted July 15, 2019 Share Posted July 15, 2019 6 hours ago, PixelPest said: Mmmh - that is strange; I tested before suggesting. Mandala.svg But did you really get in there to check the result ? Over 40 THOUSAND nodes . All sharp. On 7/14/2019 at 9:06 AM, ProjectOxide said: Unfortunately it doesn't work. Would anyone know if Illustrator has a similar issue with varied line widths and their caps? Nowhere near as bad. The caps are a non issue in both AI and InkS as both retain curves rather than converting everything into straight line segments. I took a quick look on a test pressure curve in all three programs. Affinity 5,583 nodes all sharp Inkscape 108 nodes. curves with bez handles Illustrator 78 nodes. curves with bez handles (and, fyi, there's at least one really good plugin for Ai that cleans up extra points very well. It does much more than that, but it costs more than Affinity itself.) Quote Link to comment Share on other sites More sharing options...
PixelPest Posted July 15, 2019 Share Posted July 15, 2019 2 hours ago, JimmyJack said: But did you really get in there to check the result ? And did you read my post? I can tell already by the file size that there´s something wrong with it. BTW it´s almost 80k nodes. Just for the record. Oh - and I'm getting tired of how long we've been put off regarding more robust svg output. Quote Link to comment Share on other sites More sharing options...
ProjectOxide Posted July 16, 2019 Author Share Posted July 16, 2019 16 hours ago, PixelPest said: And did you read my post? I can tell already by the file size that there´s something wrong with it. BTW it´s almost 80k nodes. Just for the record. Oh - and I'm getting tired of how long we've been put off regarding more robust svg output. For reference, here's the project file that I've been trying to resolve: https://drive.google.com/file/d/1xPrw4KfYjAr1DW-Z6eAhS9OrwqOJjZ9B/view I've tried the suggestions thus far to no avail. Quote Link to comment Share on other sites More sharing options...
ProjectOxide Posted July 16, 2019 Author Share Posted July 16, 2019 On 7/14/2019 at 7:31 AM, dr_who said: The malfunctioning expanding of strokes is a long-standing issue that unfortunately saw no improvements in 1.7. It’s a critical flaw keeping a lot of us at bay for now. The only workaround is to resort to 3rd party apps like Inkscape to do the conversion. Would you be able to share how to do the workaround in Inkscape? I tried installing it briefly but couldn't figure out how to bring the vector work into it since copy pasting rasterizes it and it doesn't like the affinity files either, but at the same time I can't export to anything without ruining the caps. Quote Link to comment Share on other sites More sharing options...
ProjectOxide Posted July 16, 2019 Author Share Posted July 16, 2019 19 hours ago, JimmyJack said: But did you really get in there to check the result ? Over 40 THOUSAND nodes . All sharp. Nowhere near as bad. The caps are a non issue in both AI and InkS as both retain curves rather than converting everything into straight line segments. I took a quick look on a test pressure curve in all three programs. Affinity 5,583 nodes all sharp Inkscape 108 nodes. curves with bez handles Illustrator 78 nodes. curves with bez handles (and, fyi, there's at least one really good plugin for Ai that cleans up extra points very well. It does much more than that, but it costs more than Affinity itself.) Thanks for the effort to confirm it. Would you happen to know the name of that plug in? I seem to be in a position where i'll be doing increasingly more vector work in the future so it could be worth the investment in affinity is unable to handle this properly. Quote Link to comment Share on other sites More sharing options...
dr_who Posted July 16, 2019 Share Posted July 16, 2019 Well, my workflow was: export to svg in AD > open the svg file in Inkscape, do the conversion from paths to shapes (can’t recall the name of the function off the top of my head but it should be relatively easy to find), save the file > open the file in AD and carry on. But then again, my paths were relatively simple with no width variations and such. They did have rounded corners and caps, though, which seemed to survive the svg exporting just fine. Quote Link to comment Share on other sites More sharing options...
dr_who Posted July 16, 2019 Share Posted July 16, 2019 If Inkscape supports variable width strokes, maybe export to svg without the width variations and add them in Inkscape using a high-res png as a reference in the background...? Admittedly these workarounds are getting ridiculous but such is the state of affairs currently regarding this area Quote Link to comment Share on other sites More sharing options...
dr_who Posted July 16, 2019 Share Posted July 16, 2019 25 minutes ago, BofG said: You won't get variable width strokes in svg, it's not supported. I would suggest outputting as a png from AD at a large size, then using the trace function in InkScape. That’s one option but to me, even when tracing a high-res image, the results always seem more or less wonky... Depends highly on what’s being traced, though, and is definitely worth a shot. Quote Link to comment Share on other sites More sharing options...
dr_who Posted July 16, 2019 Share Posted July 16, 2019 5 minutes ago, BofG said: This is so true, imagine spending many hours on a drawing using complex strokes and then only finding out at the end that it's trapped in Designer, with no way to get it out as a vector. Maybe there should be a warning message when a stroke style is first applied.... Couldn’t agree more! I really feel for the OP. Imagine you’re on a tight deadline, having worked hard the whole day and when you’re finally about to output the deliverable pdf you’re faced with this issue... Yeah, wouldn’t make me laugh either. I love this app to death which is why this thing is really killing me. But you’re right, having a feature at your disposal that is only going to betray you in the end is bordering something I don’t even want to say out loud. Quote Link to comment Share on other sites More sharing options...
PixelPest Posted July 17, 2019 Share Posted July 17, 2019 How is this? Completely conversion inside AD: Chunky 4U.afdesign 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.