'gaf export' should support input from stdin / output to stdout

Bug #1085990 reported by Peter TB Brett on 2012-12-03
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gEDA
Wishlist
Unassigned

Bug Description

The 'gaf export' tool should support input from stdin and output to stdout.

For example, if run with '-' as the output filename:

  gaf export --format=png --output=- foo.sch

it should output a PNG image on stdout.

Similarly, if run with '-' as the only input filename:

  gaf export --output=foo.png -

it should accept schematic data on standard input.

ronald miloh alexander (miloh) wrote :

Would this allow for piping output to programs like imagemagick?

Which then would allow for visual diffs to easily be created on the fly (for instance, diffs of two commits to a git repo with history of .sch development in it)

Peter TB Brett (peter-b) wrote :

Yes, that was one of the concepts.

Another was to enable desktop environments to more easily generate graphical previews of schematic files in file browsers.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers