Wireshark-users: Re: [Wireshark-users] Printing, saving wireshark graphs

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sun, 30 Jul 2006 19:26:21 -0700
Andrew Schweitzer wrote:
Wireshark has wonderful abilities to create graphs. Is there a way to print these graphs?

Unfortunately, no.

There's currently code in Wireshark to create a "print stream" object and print lines of text to it. That could perhaps be extended to add methods for graphics, although, currently, the only types of "print stream" objects that are supported are plain text (which would have to draw those graphs with ASCII art) and PostScript (which would require a PostScript printer or PostScript interpreter).

It would probably make sense to add new print stream types, e.g. for Windows printing, OS X printing, GNOME printing, KDE printing, etc..

And a bonus would be the ability to save them.

Save them in what form? PostScript? PDF? GIF/PNG/...? SVG? Some graphics metafile format? The raw data, in a graph-dependent form?

Sorry if I just didn't read doc carefully enough.

PS even better would be to do all these wonderful things from the command line so we can use python to just make a big graph of all the capture files in a directory :)

I.e., Tshark taps to do graphs? Would it send the plots to the standard output in one of those formats, with display/printing/whatever done by an application to which you pipe the output, or what?