Problem with pdf with embedded image

This is NOT a support forum. You are welcome to discuss software issues here, but all issues should be reported on Launchpad if you want them fixed.
lorenzocastrico
Posts: 1
Joined: Sun Nov 10, 2013 1:10 am

Problem with pdf with embedded image

Postby lorenzocastrico » Sun Nov 10, 2013 1:27 am

Hello,
When i open a pdf(that contains an embedded image) in inkscape i get bad results.
It seems like inkscape try to "vectorialize" it.
The resulting image is attached to this post.
The original pdf is here http://www.tangoo.it/fondo_02.pdf

Thanks
Attachments
Fondo_02.png
Fondo_02.png (68.52 KiB) Viewed 1823 times

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

Re: Problem with pdf with embedded image

Postby Lazur » Wed Nov 13, 2013 9:30 pm

Hi.

I belive that is not an embedded image but a gradient mesh in the background.
That feature is still in development, what makes it import as separate paths.
http://www.inkscapeforum.com/viewtopic.php?f=22&t=16091

Tried to open the pdf with the latest development build but couldn't open it right too.
See if simulating can help you:
http://www.inkscapeforum.com/viewtopic.php?f=6&t=16270

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

Re: Problem with pdf with embedded image

Postby hulf2012 » Thu Nov 14, 2013 1:04 am

Hello
Well, I made that tutorial. Basically one of the ideas is apply a blur to a group of paths, and after that apply a clip-path to that group.So, if you want, download that tutorial following the links, because the HOWTO is explained there.

In your case, the background was done using a gradient mesh. In my case, even opening with a PDF reader, if I zoom the image We will see that the background is composed of a lot of rectangular patches.

Inkscape, when importing the pdf, has an option called "Precision of aproximating gradient mesh". If you move the slide to the right you will get more precision on the color of your background, with the price that you will get more patches. More patches means that it will take more work grouping and selecting them for applying a separate bluring. Work, work, work!

The white border that always appear between the patches, it's related to the Inkscape's Intern Rendering System. It's a little hard to me to explain that concept. I consider it as a bug. The rendering system has been improved in the next version of Inkscape (0.49) which is still catalogued as "Unstable". But can be downloaded for your system following the download links on Inkscape's main web page. mmm ...
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.


Return to “Discuss Software Issues”