[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

SV: Re: TortoiseIDiff - Comparison

From: Hans-Emil Skogh <Hans-Emil.Skogh_at_tritech.se>
Date: 2006-09-29 09:50:15 CEST

>> To implement any image comparisons, one needs
>> pixel-access to the images.
...
> But you can always convert that image into a DiB
> and then manipulate it from there.
...
>> The best way would be if we could create a way to
>> get the raw data from the CPicture class. Today
>> that's not possible as I see it.

I might have been wrong about CPicture. The Bitmap-class used to store
all images except icons today has GetPixel()/SetPixel()-methods. Those
could be exposed from CPicture and utilized.
In conjunction with a way to create a CPicture instance containing a
blank image of given dimensions everything needed is in place.
(Efficient enough? Don't know. Time will tell...)

Hans-Emil

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Sep 29 09:49:24 2006

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.