Loading .ai not completely correct

Post questions on how to use or achieve an effect in Inkscape.
pimvdb
Posts: 4
Joined: Sun Feb 27, 2011 2:16 am

Loading .ai not completely correct

Postby pimvdb » Sun Feb 27, 2011 2:22 am

I just downloaded a vector graphics set in .ai format from: http://www.webalys.com/design-interface ... mework.php.

When opening the file library-colors.ai in Adobe Reader, it looks different than it does in Inkscape. What could be the problem and how can I make Inkscape show it as it does in Adobe Reader?

The difference is the glass/shadow effect:

Image

Thanks in advance.

pimvdb
Posts: 4
Joined: Sun Feb 27, 2011 2:16 am

Re: Loading .ai not completely correct

Postby pimvdb » Mon Feb 28, 2011 8:37 am

Anyone an idea of what could be the reason?

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Loading .ai not completely correct

Postby brynn » Mon Feb 28, 2011 12:58 pm

Hi pimvdb,
Image
Welcome to InkscapeForum!

Unfortunately I don't know what's happening, and apparently no one who's read your message so far, knows the answer either. But I wanted to say "welcome". And hang in there. Weekends tend to be a bit slow here, but surely someone will log on soon who knows the answer. Image :D

User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Re: Loading .ai not completely correct

Postby druban » Mon Feb 28, 2011 6:26 pm

It looks like inkscape is doing a better job of reading the ai file than reader, which is not easy to fix ;)
You actually want to remove the blend effect and replace it with a hard rectangle/solid fill?
I went to the page in your post but could not see exactly which ai file you are referring to, so I can't tell if this is a gradient or an opacity mask...
If you would care to upload the svg we can take a look. Though usually people want to go in the other direction .
Your mind is what you think it is.

pimvdb
Posts: 4
Joined: Sun Feb 27, 2011 2:16 am

Re: Loading .ai not completely correct

Postby pimvdb » Mon Feb 28, 2011 8:47 pm

Thanks for your reactions :)

Actually, how Adobe Reader opens the file is more to my liking, so I'd rather have Inkscape open it that way :P

As I only know how to convert .ai to .svg using Inkscape, this is the .svg file created by Inkscape (i.e. in which that glass effect is lost):
http://scoverview.netai.net/library-colors.svg
And this is the original .ai file (it is called library_color.ai, I made a mistake in my first post):
http://scoverview.netai.net/library-color.ai

Thanks in advance ;)

User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Re: Loading .ai not completely correct

Postby druban » Tue Mar 01, 2011 6:50 am

I see what the problem is, the gradients are defined differently in ai and pdf from inkscape, but I don't see an easy way to fix it!
You can manually move the four gradient stops (for any one of your objects) to the locations in the image below.

g23287.png
g23287.png (24.38 KiB) Viewed 2104 times


If you are adept at text editing, you could then do some quick cutting and pasting in a text editor in the gradient defs section of your svg file to make the gradient stops for each gradient have the same numbers as your modified gradient.

Some one more fluent in xml might know of a substitution for "userspaceon use" in the gradientunits and "pad" in the spread in gradient defs that would have fix the output.
Your mind is what you think it is.

pimvdb
Posts: 4
Joined: Sun Feb 27, 2011 2:16 am

Re: Loading .ai not completely correct

Postby pimvdb » Tue Mar 01, 2011 7:33 am

I had to play around a little as I downloaded Inkscape only a few days ago, but I managed to make it have the shadow effect.

Thanks!


Return to “Help with using Inkscape”