Rizki Akbari Utama Posted October 17, 2018 Share Posted October 17, 2018 I tried to create gradient effect in my icon. But I found a problem. I use layer effect and the gradient looks great, but it's rasterized after I exported to SVG. So I tried another way to create the gradient. I created gradient in fill and stroke of each shape (notch is made of fill and the body is made of stroke). It's exported as a vector, but the gradient looks weird. Can anyone give me a solution for this problem ? Quote Link to comment Share on other sites More sharing options...
Staff Lee D Posted October 18, 2018 Staff Share Posted October 18, 2018 Try removing the FX from the Gradient layer and then exporting to SVG as effects need to be rasterised during export. Quote Link to comment Share on other sites More sharing options...
Guest Posted October 18, 2018 Share Posted October 18, 2018 Hello Rizki Akbari Utama, You can do a Boolean "Add" operation with both shapes and then apply a gradient to the filling. The gradient will not be pixelated when exporting svg. Quote Link to comment Share on other sites More sharing options...
Rizki Akbari Utama Posted October 18, 2018 Author Share Posted October 18, 2018 7 hours ago, reglico said: Hello Rizki Akbari Utama, You can do a Boolean "Add" operation with both shapes and then apply a gradient to the filling. The gradient will not be pixelated when exporting svg. This is what happen after I use boolean operation > add. Quote Link to comment Share on other sites More sharing options...
Sackadelic Posted October 18, 2018 Share Posted October 18, 2018 Try creating 3 shapes for Boolean Add - 1 Rounded Rectangle 2 smaller rounded rectangle nested. > Boolean subract small from big 3 Rounded rectangle on top > Boolean add Top rectangle from rounded outline. Hint - you can also "option + Boolean add or subtract" to create a compound object for editing. Quote Link to comment Share on other sites More sharing options...
gdenby Posted October 18, 2018 Share Posted October 18, 2018 Hi, Rizki Akbari Utama, Your 1st post included a layer called notch. Your last one did not, and from what I can see of the layer panel, you are getting what the lowest layer, "Main Body" has as a shape. 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...
Guest Posted October 19, 2018 Share Posted October 19, 2018 @Rizki Akbari Utama, draw the large rectangle (without filling and with a contour of the desired thickness). Draw over the small rectangle (with filling and without contour). Select the large rectangle, "Layer", "Expand Stroke". Select both shapes and press "Add". Apply the desired gradient to the filling. 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.