Anu, when you say "compare", I guess you want to know if the 2 things are bit-for-bit identical, right? All you need is for both things to be in the same format. What is the purpose of knowing whether they are the same? Maybe there is another way to solve the problem.
________________________________ From: advanced_delphi@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Anu Rang Sent: Tuesday, July 01, 2008 8:44 PM To: advanced_delphi@yahoogroups.com Subject: [advanced_delphi] Re: How to compare two TGraphic Objects 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 <http://totallyfreeenergy.zxq.net> --- In advanced_delphi@yahoogroups.com <mailto:advanced_delphi%40yahoogroups.com> , "Anu Rang" <[EMAIL PROTECTED]> 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 <http://totallyfreeenergy.zxq.net> >