Author Topic: EPS losing detail  (Read 1806 times)

April 13, 2018, 12:33:49 AM
Read 1806 times

tkman

  • Sr. Newbie

  • Offline
  • **

  • 6
Hello and first of all, thanks for offering an Alternative to greedy Adobe...

Currently I am stuck with an absolute beginner issue...

Saving an Image as EPS (2), it will not keep all curve points.

Simple Example: Creating a cross and exporting it will result in missing corners. Furthermore, the EPS is throwing and import error when trying to open it back in Inkscape.

What am I doing?:
- drawing a cross shape using the F6 tool (Bezier Curves)
- resizing view to selection using the ctrl-shift-d option dialog
- saving as eps, level 2

-> importing into 3d application and opening in inkscape.

Any help on this would be appreciated :)

Thanks


  • 0.92
  • win 10

April 13, 2018, 02:03:57 PM
Reply #1

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
Can you share a sample of those files (i.e. the svg before export, and the resulting eps) so we can maybe find the reason?

April 14, 2018, 12:49:09 AM
Reply #2

tkman

  • Sr. Newbie

  • Offline
  • **

  • 6
of course, here we go.
simple shape, nothing fancy done with it, result rather not usable.
  • 0.92
  • win 10

April 14, 2018, 08:17:09 AM
Reply #3

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
Those pictures look the same for me - both in Inkscape as well as in other eps viewers, like sk1 or atril.

I think there's a problem when you do the re-import into Inkscape.
What's your ghostscript version?

Can you try viewing the eps file with a different software than Inkscape to confirm?
Can you also make a screenshot of your import options dialog settings?

Can you run Inkscape from the command line, repeat the process of importing, and copy-paste any error messages that are printed to the command line? (see step 3 here: https://inkscape.org/en/learn/faq/#inkscape-does-not-start)

April 14, 2018, 10:17:47 AM
Reply #4

tkman

  • Sr. Newbie

  • Offline
  • **

  • 6
Will have a look and update.

What I am doing with the images, is importing them into Maya (3D App) and they definitely come out wrong. Doing the same with Illustrator or even Photoshop is working fine.
I also exported the svg from OmniGraffle and this one comes in as expected.

After running Inkscape from commandline using the incscape.com command, nothing is shown.
The message I am receiving is 'Failed to load requested file'.

Ghostscript:
I never actively installed any ghostscript versions, gimp is also unable to open any. Sooo this need s to be done :)

After checking back in Illustrator I have to confirm, that the result looks correct.

So there might be a version problem that Maya has with the eps files.

Below you can see the versions from inkscape compared to the result I am getting based on the OmniGraffle Export.

  • 0.92
  • win 10

April 14, 2018, 12:53:12 PM
Reply #5

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Inkscape requires Ghostscript to be able to handle EPS files (on Windows):  https://inkscape.org/en/learn/faq/#how-open-eps-files-windows

  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

April 14, 2018, 01:20:23 PM
Reply #6

tkman

  • Sr. Newbie

  • Offline
  • **

  • 6
considering the Ghostscript issue as an additional topic - I do not need to view the eps inside of Inkscape for now.

The current main problem I am facing is the difference in the way the eps file is being exported. Whatever difference there is, Maya seems to not like it. I am fiddling with the EPS  file itself now. it currently is missing 2 out of 12 Points from the original shape inside my 3d App.

  • 0.92
  • win 10

April 14, 2018, 01:46:33 PM
Reply #7

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Furthermore, the EPS is throwing and import error when trying to open it back in Inkscape.
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

April 14, 2018, 06:35:58 PM
Reply #8

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
Aha, the re-import is in Maya, not in Inkscape.
That's a Maya issue, then, probably, and I cannot help with eps file formatting issues, don't know enough about that.
If you figure it out, let us know on the thread. Who knows, maybe someone else will come across the same problem in the future.

April 16, 2018, 12:28:06 AM
Reply #9

tkman

  • Sr. Newbie

  • Offline
  • **

  • 6
after analyzing the files form AI and cairo, I do have a solution that creates a usable image. Furthermore, I am quite sure this is a setting that could be implemented into the cairo converter.

The Coordinates themselves are written in triples with the curveto /c command.converting this to tuples using the lineto /l command results in the shape being imported correctly.

For import into any 3D App you would expect the the points to be placed correctly, the curvature interpretation will not be correct in most cases anyway.

So for me the solution would be to export the eps as linear interpolated lines rather than curves.

->  feature request into the exporter :)

and: Is there any option apart from simplify, that would force my curves to be linear?
« Last Edit: April 16, 2018, 01:08:30 AM by tkman »
  • 0.92
  • win 10

April 16, 2018, 03:53:55 PM
Reply #10

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
Sorry, I don't know. I expected them to be that already.

For feature requests, please visit https://bugs.launchpad.net/inkscape (same as for bug reports, currently - may change in the future).

April 16, 2018, 05:54:07 PM
Reply #11

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

April 16, 2018, 11:59:00 PM
Reply #12

tkman

  • Sr. Newbie

  • Offline
  • **

  • 6
 :fyi:
submitted a bug report to dev team
  • 0.92
  • win 10

April 19, 2018, 09:37:12 AM
Reply #13

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Thanks for making the report.  Would you please post the link here, so people who are interested can follow the progress?
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann