Inkscape to InDesign (eps only solution?)

Post questions on how to use or achieve an effect in Inkscape.
User avatar
Marcelo
Posts: 35
Joined: Thu Jul 09, 2009 12:18 pm
Location: Buenos Aires, Argentina
Contact:

Inkscape to InDesign (eps only solution?)

Postby Marcelo » Thu Jan 27, 2011 2:41 am

Hi,

(sorry if I should have posted this question in an InDesign forum. Hope you can give me a hand anyway).

Is .eps export the only Inkscape>>>InDesign connection, as I found out by simply trying formats?. Now, even then I have problems since .eps files appear as rasterized images in ID.

1. Do you know if this is just an appearence or if its actually going to be printed as bitmap image?
2. Do you know any other scalable way to ID?. (Of course Scribus is the natural DTP for .svg, but sometimes the choice is not up to oneself. I achieved to place .eps as vectors as well, but they had to be opened with Illustrator first and then copy-pasted to ID. This indirect way is really a headache when you have many images, and after all I didn't always find exactly what I drew but also lot of stuff to clean and repair: broken paths, rasterized stuff, sliced objects, kind of "ghost-objects" without path nor text inside, etc.)

Many thanks in advance.

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Inkscape to InDesign (eps only solution?)

Postby ~suv » Thu Jan 27, 2011 4:22 am

Marcelo wrote:(…) even then I have problems since .eps files appear as rasterized images in ID.

See my comment in a recent, related topic "Re: Can't save as .eps" for why EPS export can contain rasterized parts.

User avatar
Marcelo
Posts: 35
Joined: Thu Jul 09, 2009 12:18 pm
Location: Buenos Aires, Argentina
Contact:

Re: Inkscape to InDesign (eps only solution?)

Postby Marcelo » Thu Jan 27, 2011 8:31 am

Thanks a lot -suv. By your help I proved myself that it is indeed an issue of transparency. I turned out to discover a mess because I used to apply it using Inkscape's three possibilities (fill/stroke separately, object in general and whole layer) with no rule at all, sometimes mixed. Therefore it was difficult to believe I had any chance to have my .eps scalable at InDesign.

Thanks very much for being so quick.

User avatar
Marcelo
Posts: 35
Joined: Thu Jul 09, 2009 12:18 pm
Location: Buenos Aires, Argentina
Contact:

Re: Inkscape to InDesign (eps only solution?)

Postby Marcelo » Sun Jan 30, 2011 8:53 am

I believe Inkscape is playing with me :)

I have 137 svg illustrations currently being exported to eps one by one. Most of them have some blur or transparency here and there so I'm obsessively cleaning them up to avoid any raster. I'm at #90 and I'm quite sure that testing every object of an image is not enough. Most of the times, after it's all checked out and corrected, I anyway see at the end in InDesign the imported eps totally rasterized.

I found an irrational solution and I just want to understand why it works...

I select all/copy/paste the whole thing to another fresh new canvas, and voilá. It feels like leaving some little dirty thing behind.

Do you know what could be happening?

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Inkscape to InDesign (eps only solution?)

Postby ~suv » Sun Jan 30, 2011 12:14 pm

Marcelo wrote:I found an irrational solution and I just want to understand why it works...

I select all/copy/paste the whole thing to another fresh new canvas, and voilá. It feels like leaving some little dirty thing behind.

Do you know what could be happening?

Could you attach a sample SVG file, in both versions (before and after fixing it)?

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Inkscape to InDesign (eps only solution?)

Postby ~suv » Sun Jan 30, 2011 12:44 pm

~suv wrote:I select all/copy/paste the whole thing to another fresh new canvas, and voilá. It feels like leaving some little dirty thing behind.

Do you know what could be happening?

Some quick guesses:
  1. There are layers (turned off or empty) in the original SVG which have reduced opacity or a blend mode applied. Those will not be copied to the new document, but can cause the EPS export to be rasterized (see bug #489713)
  2. There are invisible objects which are not selected with normal copy/paste that trigger the rasterization (compare original and pasted copy in Outline display mode and search for any objects that didn't get pasted into the new document).

User avatar
Marcelo
Posts: 35
Joined: Thu Jul 09, 2009 12:18 pm
Location: Buenos Aires, Argentina
Contact:

Re: Inkscape to InDesign (eps only solution?)

Postby Marcelo » Sun Jan 30, 2011 2:28 pm

I've got this massage "The extension eps is not allowed."

I loaded them here.
http://www.gruporufina.com/92_originalCanvas.eps
http://www.gruporufina.com/92_newCanvas.eps

BTW, see they are different in weight (54Kb (before) to 13Kb (fixed))

Thanks very much
Last edited by Marcelo on Sun Jan 30, 2011 3:19 pm, edited 3 times in total.

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Inkscape to InDesign (eps only solution?)

Postby ~suv » Sun Jan 30, 2011 2:38 pm

Marcelo wrote:See there's a considerable difference of weight between them…
Don't see anything ;) - no files attached?

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Inkscape to InDesign (eps only solution?)

Postby ~suv » Sun Jan 30, 2011 3:38 pm

OK, got the links to the EPS files.
Marcelo wrote:BTW, see they are different in weight (54Kb (before) to 13Kb (fixed))
That's to be expected for the EPS files if one of them has rasterized content. However, seeing only the exported EPS files I can't help you with finding an answer to your question:
Marcelo wrote:I select all/copy/paste the whole thing to another fresh new canvas, and voilá. It feels like leaving some little dirty thing behind.

Do you know what could be happening?

Could you attach the SVG files (both versions)?

User avatar
Marcelo
Posts: 35
Joined: Thu Jul 09, 2009 12:18 pm
Location: Buenos Aires, Argentina
Contact:

Re: Inkscape to InDesign (eps only solution?)

Postby Marcelo » Mon Jan 31, 2011 3:54 am

Sorry, here they go:
Attachments
fig_95fixed.svg
(37.03 KiB) Downloaded 158 times
fig_95old.svg
(35.45 KiB) Downloaded 154 times

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Inkscape to InDesign (eps only solution?)

Postby ~suv » Mon Jan 31, 2011 5:12 am

Two reasons (previously mentioned):
  • layer "dibujo" has blend mode "Multiply" (SVG filter effect)
  • layer "base" has reduced opacity of 30% (affects EPS export even though hidden)
To avoid rasterization, set layer "dibujo" to blend mode "Normal" and either delete layer "base" or set it to opacity 100%.

User avatar
Marcelo
Posts: 35
Joined: Thu Jul 09, 2009 12:18 pm
Location: Buenos Aires, Argentina
Contact:

Re: Inkscape to InDesign (eps only solution?)

Postby Marcelo » Tue Feb 15, 2011 2:59 am

Sorry I could have checked that myself. I'm afraid I posted the sample too soon. However, other files still result in rasterized eps after a double check and they seem not to be that obvious. For example, what's wrong with this other?

problems_2.svg
(65.77 KiB) Downloaded 154 times
fixed_2.svg
(58.06 KiB) Downloaded 149 times


((If it's something that you just find through the xml code, I would appreciate you point me out where to watch.))

Thanks so much again.

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Inkscape to InDesign (eps only solution?)

Postby ~suv » Tue Feb 15, 2011 1:23 pm

Marcelo wrote:fixed_2.svg

  • all objects have a reference to a (non-existent) filter in the style attribute
    (to fix: 'Edit > Select all in All Layer', 'Filters > Remove Filters')
    (how that happened? in problems_2.svg the layer "dibujo" has a filter applied (style="display:inline;filter:url(#filter4468)"), but its definition does not exist in the file. It seems that you selected all visible objects and copy&pasted them into a new document (or moved them to a new layer within the same document). This has the effect that style properties of the layer are transferred to each object.)
  • one object has a semi-transparent white fill
    (to fix: make the white fill fully opaque (Alpha 255)
Attachments
fixed_2-fill-fixed-filters-removed.svg
(57.53 KiB) Downloaded 182 times

User avatar
Marcelo
Posts: 35
Joined: Thu Jul 09, 2009 12:18 pm
Location: Buenos Aires, Argentina
Contact:

Re: Inkscape to InDesign (eps only solution?)

Postby Marcelo » Tue Mar 01, 2011 9:12 am

-suv, thanks very much for your clear explanation again. I'm checking the xml and It starts to have logic to me now.


Return to “Help with using Inkscape”

Who is online

Users browsing this forum: No registered users and 7 guests