LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-10-2019, 03:15 PM   #1
bsmile
Member
 
Registered: Oct 2017
Posts: 71

Rep: Reputation: Disabled
how to generate beautiful flow chart and save in good quality eps file?


This really causes me headache. I need to use Greek and math equation, so I finally landed on using MS powerpoint to produce a flow chart and then print it into a.pdf format. Then, use gimp to work on a.pdf to trim the surrounding blank and save as b.pdf, and then under linux use convert on b.pdf to transform to c.eps. I managed to use the highest quality picture rendering on each step, but the quality of c.eps coming out of the whole process is terrible (original version is quite nice/smooth, resulting version is blurred/scattered). How do you guys deal with this task? Thanks for your input.
 
Old 03-10-2019, 06:29 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,009

Rep: Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391
Hi,

you might be best off using a native vector drawing app like inkscape. If it doesn't support the character set that you need for mathematical expressions you could check out latexdraw.

Cheers,

Evo.
 
Old 03-12-2019, 06:22 PM   #3
pholland
Member
 
Registered: Jun 2015
Posts: 78

Rep: Reputation: Disabled
The GIMP can export a graphic file in a variety of formats, including .eps. Pull down the File menu and click on the Export As selection. Click on a bar marked "All export images" located low in the export window. Select the desired format. That could eliminate the convert step.

Seems to me that a blurred graphic means significant zoom in between file a.pdf and the printer's output. Check the dimensions in the GIMP. Image --> Scale Image with an image width of 1800 produces an image 6 inches wide when printed at 300 dpi.

Scaling up an image is likely to degrade text quality. Fonts like Liberation Serif and Times New Roman include basic Greek characters. Can you write a formula in a word processor? If so, set the GIMP's text tool to the same font, copy the formula out of the word processor and paste it into the Gimp's text tool.

Have you downloaded the GIMP's documentation? It's available on the web and probably from your linux distro's repository.

Hope that helps.
 
Old 03-12-2019, 07:19 PM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,009

Rep: Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391
Hi,

in case it wasn't obvious from my initial post, you should avoid converting from vector to raster and then back to vector (eps) again. Gimp does raster graphics, not vector.

Evo2.
 
Old 03-14-2019, 08:20 PM   #5
bsmile
Member
 
Registered: Oct 2017
Posts: 71

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
Hi,

in case it wasn't obvious from my initial post, you should avoid converting from vector to raster and then back to vector (eps) again. Gimp does raster graphics, not vector.

Evo2.
Thanks for your message. Do you mean I input the flow chart in GIMP? It does not provide Greek nor equation. I believe if I am able to input these things in GIMP, the converted .eps should have quite good quality. Now I generate .pdf from powerpoint, and then import .pdf to GIMP to cut blank edge and convert to .eps, resolution is lost badly.
 
Old 03-14-2019, 08:33 PM   #6
Beryllos
Member
 
Registered: Apr 2013
Location: Massachusetts
Distribution: Debian
Posts: 523

Rep: Reputation: 314Reputation: 314Reputation: 314Reputation: 314
Graphviz

https://www.graphviz.org/

The equations may take a bit of fancy work (using labels) but can be done. Greek character set is not a problem, but the math symbols, superscripts, subscripts, fractions, parentheses, etc., will be a challenge at first (until you work out the right tools and shortcuts).

Last edited by Beryllos; 03-14-2019 at 08:46 PM.
 
Old 03-14-2019, 08:40 PM   #7
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,009

Rep: Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391
Hi,
Quote:
Originally Posted by bsmile View Post
Thanks for your message. Do you mean I input the flow chart in GIMP? It does not provide Greek nor equation. I believe if I am able to input these things in GIMP, the converted .eps should have quite good quality. Now I generate .pdf from powerpoint, and then import .pdf to GIMP to cut blank edge and convert to .eps, resolution is lost badly.
no I mean do not use gimp at all.

I recommend you use vector graphics tools only for this.

Evo2.

P.S.

Beryllos' suggestion of Graphviz looks like a good option.

Last edited by evo2; 03-14-2019 at 08:42 PM. Reason: P.S.
 
Old 03-15-2019, 11:49 AM   #8
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Xubuntu
Posts: 5,320

Rep: Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825
It's some time since I've looked at it, but you could try Dia — it's probably in your distro's repository.
 
Old 03-16-2019, 06:28 AM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 12,533
Blog Entries: 9

Rep: Reputation: 3393Reputation: 3393Reputation: 3393Reputation: 3393Reputation: 3393Reputation: 3393Reputation: 3393Reputation: 3393Reputation: 3393Reputation: 3393Reputation: 3393
some additional enlightenment for OP:
https://en.wikipedia.org/wiki/Vector_graphics
 
Old 03-16-2019, 06:33 AM   #10
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (Chicago area)
Distribution: CentOS, MacOS, [Open]SuSE, Raspian, Red Hat, Slackware, Solaris, Tru64
Posts: 1,507

Rep: Reputation: 167Reputation: 167
Quote:
Originally Posted by bsmile View Post
This really causes me headache. I need to use Greek and math equation, so I finally landed on using MS powerpoint to produce a flow chart and then print it into a.pdf format.
I'm not sure what you're generating. Graphics for a presentation? Printed materials that include math and graphs?

I rarely ever need to have equations in a flowchart. What I've used to create graphs for printed materials is Graphviz. It uses a fairly simple language to define nodes/edges in a plain text file which is then used to produce output in Encapsulated Postscript that I can easily pull into a LaTeX document (using \includegraphics{}). Downside: While Graphviz can produce output in a bunch of other formats though I've only been able to generate nice-looking graphs in EPS. Specifying other output formats generally produces a graph with node labels that are really ugly.

Graphviz is almost certainly on your distribution's installation media or repository. If you did an "everything" installation, look for "dotguide.pdf". It's the user manual for the Graphviz language. (On my OpenSUSE box it's under `/usr/share/doc/packages/graphviz-doc/pdf/').

HTH...

Cheers.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Open source flow chart creation gauntalus Linux - Software 5 11-12-2012 11:32 PM
Detailed "flow chart" that describes file access and permissions processing? SaintDanBert Linux - Security 4 01-28-2011 11:06 PM
Source Code to Flow Chart Converter leibinitz Linux - Software 0 06-21-2005 02:20 AM
flow chart sw allelopath Linux - General 1 04-06-2004 06:02 AM
C 2 Structure/Flow Chart generator Misel Linux - Software 0 12-18-2003 01:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration