View Issue Details

IDProjectCategoryView StatusLast Update
0000912SkyChart1-Softwarepublic12-03-04 19:25
Reporterralph Assigned ToPatrick Chevalley  
PrioritynoneSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
PlatformAllOSAllOS VersionAll
Target Version3.6Fixed in Version3.5 SVN 
Summary0000912: Ouput format SVG
DescriptionHello,

Ouput formats are actually PNG, JPEG and BMP.
I suggest to add SVG for many reasons as "reusability" (extract, interactivity, modify objects/layers in a web document), no aliasing in the final rendering and lightweight file in some case.

Regards,
Ralph.
TagsNo tags attached.

Activities

Patrick Chevalley

11-12-21 15:11

administrator   ~0001823

Hi,

SVG is not an image bitmap format, it is a description of vector in an xml file.

The File/Save image... menu is only to get a quick screen shot, the same size as on screen, in raster form. For this use the PNG format is probably the best.

For higher quality output the way is to use File/Print.
The File/Printer setup menu allow you to select the output to a bitmap of any size or to a postscript file.

Postscript is also a vector format, so it is possible to convert to svg using standard tools. There is maybe some direct converter but the easiest way I found for now is to convert first in pdf using ps2pdf and then in svg with pdf2svg.

If you make a script that chain the two command you can put it in the field "Command to use to process the file" in Printer setup. This way you immediately get the svg file.


ralph

11-12-21 20:42

reporter   ~0001824

Is there such "export" with the command line ?
I forget to mention that i generate my charts only from the daemon. No gfx menu is used.

Patrick Chevalley

11-12-22 07:47

administrator   ~0001825

OK, I not understand that.

I will add a --print option and a print tcp command.

Patrick Chevalley

11-12-22 17:56

administrator   ~0001827

I add the command with the revision 1974 and 1975.

The syntax is PRINT PRT/PS/BMP PORTRAIT/LANDSCAPE COLOR/BW filepath

For example from the command line:
--print="PS landscape color /tmp/"

The option for raster resolution, paper size, processing command are to be set using the menu File - Printer setup.

I have also fixed the Postscript landscape output.

http://svn.origo.ethz.ch/viewvc/skychart?view=rev&revision=1974
http://svn.origo.ethz.ch/viewvc/skychart?view=rev&revision=1975

Issue History

Date Modified Username Field Change
11-12-21 13:34 ralph New Issue
11-12-21 15:11 Patrick Chevalley Note Added: 0001823
11-12-21 15:11 Patrick Chevalley Status new => resolved
11-12-21 15:11 Patrick Chevalley Resolution open => no change required
11-12-21 20:42 ralph Note Added: 0001824
11-12-21 20:42 ralph Status resolved => feedback
11-12-21 20:42 ralph Resolution no change required => reopened
11-12-22 07:47 Patrick Chevalley Note Added: 0001825
11-12-22 07:47 Patrick Chevalley Assigned To => Patrick Chevalley
11-12-22 07:47 Patrick Chevalley Status feedback => assigned
11-12-22 07:47 Patrick Chevalley Target Version 0.3.0 => 3.6
11-12-22 17:56 Patrick Chevalley Note Added: 0001827
11-12-22 17:56 Patrick Chevalley Status assigned => resolved
11-12-22 17:56 Patrick Chevalley Resolution reopened => fixed
11-12-22 17:56 Patrick Chevalley Fixed in Version 0.3.0 => 3.5 SVN
12-03-04 19:25 Patrick Chevalley Status resolved => closed