xschem icon indicating copy to clipboard operation
xschem copied to clipboard

RFC: QR codes??

Open qpwo opened this issue 10 months ago • 0 comments

This is probably a bad idea but curious for your thoughts. Feel free to close without comment as always.

Problem: Screenshots in bug reports and tutorials can be hard to reproduce because linking/including the .sch file is a bit of a pain. Then when you update your bug report or tutorial you have to make sure the implied sch<->png correspondence is still correct. Basically, keeping two files synchronized is difficult.

Solution:

  • Add qr_code.sym. It always encodes the current state of the .sch file. So you can include it in your screenshots for your tutorials and so on.
    • (Maybe the qr code gets a red outline if there's unsaved changes?)
  • The "open file" dialogue can show pngs in addition to .sch and .sym. Or maybe you drag and drop an image into the xschem window? If there's no QR code then you get an error. Otherwise, the QR code is parsed and the circuit is opened in a new untitled tab.

qpwo avatar Apr 09 '24 23:04 qpwo