View previous topic :: View next topic |
Author |
Message |
szatox Advocate
Joined: 27 Aug 2013 Posts: 3137
|
Posted: Sat Aug 23, 2014 3:53 pm Post subject: How do I generate a bitmap out of data file |
|
|
I'm sometimes doing data processing. Some of those data sets need to be somehow printed to be comprehensible (spotting patterns, changes occuring over time etc).
I can dump the data of interst into a CSV, fixed width or similarly simple format, and I need some non-interactive tool that would generate bitmaps out of those files.
It should allow at least creating bitmaps of predefined resolution, printing dots at selected possitions and changing color of selected dot by a value.
Any ideas what (Existing!) tool could I use for this task? |
|
Back to top |
|
|
schorsch_76 Guru
Joined: 19 Jun 2012 Posts: 450
|
Posted: Sat Aug 23, 2014 4:28 pm Post subject: |
|
|
If you already hav a tool to dump them in a csv file, why not dump them as a XPM file? XPM is a really straight forward format.
http://en.wikipedia.org/wiki/X_PixMap
IF you can not change the dump format, try a shell/perl/python/whatever script to create a xpm out of it. |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3137
|
Posted: Sun Aug 24, 2014 4:11 pm Post subject: |
|
|
Thanks, that looks really promissing. I can dump data in any arbitrary format, the point is how much effort it takes to implement that.
XPM seems to match "constant width column" format following a brief header, I think that's going to be simple enough. |
|
Back to top |
|
|
|