Command Line Interface

Ben Lewis benlewis003 at gmail.com
Fri Aug 19 06:12:30 UTC 2016


Hi Kst,

I'm using the command line to batch process Kst data files. The aim is to produce a set of png 
files, one for each data file.

The batch file I'm using looks like this:

    @echo off
    for %%f in (*.csv) do (
    echo "%%f"
    "C:\Program Files (x86)\Kst-2.0.8\bin\kst2.exe" -F "%%f" --png "%%~nf.png" "kstFile.kst"
    )

This works, but I would like to make a few improvements.

Is it possible to control the size of exported png file? The default is 1280 x 960. I would like to 
create high resolution images, something like 3840 x 2160.

Is it possible to control the *time offset* pragmatically? For *Time/Date Interpretation* I'm using 
*Index with frequency* and a manual offset. I would like to read the *start time* from the header 
info in the data file and apply this as an offset.

I'm using Kst 2.0.8 32 bit on Windows 10.

Regards, Ben

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kst/attachments/20160819/95084e8d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jbhcnpgpjaoafagl.png
Type: image/png
Size: 43963 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kst/attachments/20160819/95084e8d/attachment-0001.png>


More information about the Kst mailing list