Ben Lewis
2016-08-19 06:12:30 UTC
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
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