My tinkerings lead to the following conclusions. Where images need to 
be compared for similarity, use Bitmaps. In Access DB the image 
whether JPG or Bitmap is stored as Long Binary Data. This happens 
when the images is loaded to the TBlob field. Accessing these Long 
binary data is quite easy if you know the correct algorithm for each 
type such as JPG, BMP etc. For more information on the implementation 
of this contact me or try 'shareware_builders' yahoo forum. Thank you.

Anu Rang, TotallyFreeEnergy
http://totallyfreeenergy.zxq.net

--- In advanced_delphi@yahoogroups.com, "Anu Rang" 
<[EMAIL PROTECTED]> wrote:
>
> After much reading and painstaking search of the web (non google 
> all ! since google these days brings just trash in the first 3 
pages 
> the patience threshold)
> 
> what I am driving at is that finding no way to do a easy compare of 
> two TGraphic objects I have redesigned the database to accept only 
> Bitmaps. But when I save a bitmap in a Access DB it goes in 
as 'Long 
> binary data'. Then to read it back as a bitmap is a real headache. 
> There is still no light at the end of the tunnel :(
> 
> Anu Rang, TotallyFreeEnergy
> http://totallyfreeenergy.zxq.net
> 
> --- In advanced_delphi@yahoogroups.com, "Anu Rang" 
> <totallyfreeenergy@> wrote:
> >
> > Is there a simple way to compare two TGraphic Objects to find out 
> if 
> > they are the same or different?
> > 
> > I tried to convert first the TGraphic to TBitmap and then do a 
> > comparison of both. It was messy  and did not really work out.
> > 
> > Is there a simpler way to achieve it?
> > 
> > Regards
> > Anu Rang, TotallyFreeEnergy
> > http://totallyfreeenergy.zxq.net
> >
>


Reply via email to