patch gradient

Post questions on how to use or achieve an effect in Inkscape.
Giuliano69
Posts: 6
Joined: Tue Feb 04, 2014 12:32 am

patch gradient

Postby Giuliano69 » Tue Feb 04, 2014 12:55 am

Hi.
I've got some problem with a gradint patch.

I was trying to use a beatiful VAlentines vector graphic "heart", from
http://dryicons.com/free-graphics/preview/valentines/

The heart shows some very nice gradient patch the makes it seems tridimensional.
BUT Unfortunately, when inkscape 0.48 (linux) opens the file, the patch shows the inside borders, and some gradient (not all) are completely wrong and different fromt the jpg image.
Image

IF I open the eps with gimp, the patch gradient is READ correctly, so the I mean the eps file is right.
I wold like to only READ the file in inkscape , incorporating it in m work, WITHOUT needing to modify the gradient in any way.

Is it a bug in inkscape (not all gradient are correctly reprdouced) or is there a trick or plugins to read it correctly ?

hulf2012
Posts: 716
Joined: Sat Nov 24, 2012 12:37 pm

Re: patch gradient

Postby hulf2012 » Tue Feb 04, 2014 1:27 am

Giuliano69 wrote:IF I open the eps with gimp, the patch gradient is READ correctly, so the I mean the eps file is right.
I wold like to only READ the file in inkscape , incorporating it in m work, WITHOUT needing to modify the gradient in any way.

Is it a bug in inkscape (not all gradient are correctly reprdouced) or is there a trick or plugins to read it correctly ?


Short answer: It's not a bug, it's a limitation. It's not possible to import a patch gradient exactly as seen in the EPS.


More information.
See here:http://tavmjong.free.fr/INKSCAPE/MANUAL/html/File-Import.html, when it talks about EPS files and PDF files.

And as far as I understood, there are problems also with gradients and transparency. It seems that those files are not standard EPS, but some kind of extended EPS created by, mostly, Adobe Illustrator because a standard file doesn't support gradient meshes or transparency, or effects like bluring, etc.

Workarounds:
When importing the eps, there is a slide that aproximates the gradient mesh to a a mesh of discrete colors. More to the right the slide, more discrete colors, more patches. After importing, you could group the drawing. Then you can BLUR THE GROUP (not each path individually), to minimize those white borders

http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Filters-Pixel.html#Filters-GaussianBlur-FillandStroke

Greetings
If you have problems:
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: patch gradient

Postby Lazur » Tue Feb 04, 2014 1:37 am

Hi.

There are some development builds that may display those gradient meshes right.
http://www.inkscapeforum.com/viewtopic.php?f=22&t=16091#p59549


Return to “Help with using Inkscape”