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

Re: TortoiseIDiff - Comparison

From: Ivan-Assen Ivanov <ivanassen_at_gmail.com>
Date: 2006-09-26 15:53:24 CEST

> To implement any image comparisons, one needs pixel-access to the
> images. Right now this is only available as a mem-HDC in the
> WM_PAINT-handler, and doing comparisons there is not a particularly good
> idea since a comparison may be a lengthy process.
>
> 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. Question:
> What format should we use? If we change to DevIL (ditching GDI+
> altogether), it will provide the necessary methods for raw access. Is
> that the way to go?

Fast image comparison requires raw access to underlying bytes,
perfectly 32-bit ARGB pixels, and a invalidation system which will
ensure that we only recalculate what is needed to be drawn, and has
not been already calculated.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Sep 26 15:53:34 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.