Phil I would
a) write a text file at the same time as the JPEG image file, with the JPEG
image filename in a stringlist within the file. Maybe get techy and do some
overrides on button or click events to use this file
OR
b) as the database is written, write the co-responding filename (hidden)
into the database and event handlers to bring up the image that is currently
selected in the database.
Any use?
Otherwise you are going to have to do some stream handling routines and
write your own JPeg format with textual headers prior to the image or
similar.
Cheers,
Al+
> Software that came with our digital camera allows you add text
> (description
> of photo say) to the jpg file. This is NOT printed on this image,
> but is within
> the file so that the cataloguing tool can find it. This is useful
> and intriguing
> but what I really want to do is to add text, not by their
> software, but from
> inside our metadata database client. This means using the same entry as
> was made into some metadata fields (which of course is structured). Person
> only has to enter the information once and it remains attached to
> the jpg if
> someone looks at using the photo catalog tool.
>
> The trick is: WHERE in the jpg file format is this text actually
> being stored.
> Anyone know JPG internals well enough to comment?
>
> ----------------------------------------------------------
> Phil Scadden, Institute of Geological and Nuclear Sciences
> PO Box 30368, Lower Hutt, New Zealand
> Ph +64 4 5704821, fax +64 4 5704603
> ------------------------------------------------------------------
> ---------
> New Zealand Delphi Users group - Offtopic List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Offtopic List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz