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

SV: Re: Re: TortoiseIDiff suggestions

From: Hans-Emil Skogh <Hans-Emil.Skogh_at_tritech.se>
Date: 2006-09-26 11:08:25 CEST

>>> OK, can something be done about a generic interface for
>>> producing this "combined mode" image? Something like
>> I'd suggest creating some kind of OO interface there.

I /think/ we are talking about different things here. I was proposing an
interface to use to create different ways to visually compare two
already loaded images. Not loading new images.

> Just some comments here:
> 1) if using classes, that means all used libraries will
> be hard coded. I'd rather use COM or simple dll's which
> we can look for in the registry or the installation dir
> and load dynamically.

For image-loading this makes sense, for comparisons this would be (imho)
overkill.

> 2) Why do you need a method like GenerateCombinedImage()?
...
> Generating a combined image is the task of TortoiseIDiff,
> not the external library.

Exactly. But there are many different ways that you visually might want
to diff two images. It could be a mode for highlighting few but slight
changes, or one to show the difference (pixelwise subtraction) between
two images, or showing emphasis on color changes, or, or, or. Therefor I
was suggesting how to make a TIDiff-internal hard coded interface to do
this in an orderly (and pretty easily extendable) way. :-)

Hans-Emil

PS. For loading, DevIL seems nice, yes. DS.

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