associate jpeg image of reciept with a transaction?

Mark H. Wood mhwood at ameritech.net
Sat Dec 11 07:08:53 EST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

To anyone contemplating the addition of such a feature, I'd like to
suggest that the specific details should not be integrated into Gnucash.
This feels like an area where lots of people will have lots of different
ideas.  I would recommend thinking in terms of providing a hook to run an
external command that passes back a tagged datum which will be stored
uninterpreted by Gnucash.  When Gnucash activates the "committing
transaction" hook, something else can e.g. fire up the scanner, then
either stash the image in a file and hand back a path/URL, or suitably
encode the image data and pass the whole thing back -- it's just a BLOB
either way as far as Gnucash is concerned.  (But I'd recommend just a
pointer to an external document, which document could be used by several
other programs if need be.)

To make use of the list of additional data attached to a split, it would
be desirable to be able to augment appropriate menus with callouts to
one's local handlers, again as external commands.  (It *could* be done
more cheaply by just adding a generic "additional data" pick to the menus
whenever a split has additional data, requiring the user to provide his
own menu gadget if he has defined more than one kind of additional data,
but that might not save very much coding.)

That should be much easier and quicker to bring into the product, and way
more flexible.  I imagine that, over time, a sizable package of
contributed callouts would be built to meet various common needs, and none
of them should require any further work on Gnucash.

- -- 
Mark H. Wood, radical centrist     OpenPGP ID 876A8B75     mhwood at ameritech.net
No amount of clipart will save dull writing or an uninteresting topic.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/

iD8DBQFBuuNgeziYCIdqi3URAjEDAJwIHrqY4kSzQUrxqd9OKNeJOi7U5ACeLKLw
+VoyeOZkUpHLGtOxenvRhZA=
=VUHr
-----END PGP SIGNATURE-----


More information about the gnucash-user mailing list