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

RE: Re: Re: TortoiseIDiff suggestions

From: Will Wilson <willw_at_fireflyworlds.com>
Date: 2006-09-26 12:43:50 CEST

> 2) Why do you need a method like GenerateCombinedImage()? The only
> function we need is LoadImage(const char* path, Image& pic).
> Generating a combined image is the task of TortoiseIDiff, not the
> external library.

+1. I'd be all for keeping it as simple as possible. Just a C-based API
of exported functions would be fine. As simple as possible, but no
simpler.

> > Subclasses would then implement that method to do different kinds of
> > comparisons. That way it will be easy to separate the different
> > implementations, but still have common functionality (if any) in the
> > base class. If the necessity for parameters or configuration arises,
> > this could be implemented with an pure virtual Configure()-method in
> the
> > base class that the subclasses must implement to either return null
> or
> > provide the user with a dialog to configure the comparer.
> >
> > If no-one objects I'll add something along these lines to the issue.
>
> there have been some mentioning about the imageMagick library. Yes,
> that library is widely used. But it's big, has *many* dependencies (if
> you want to support all the formats) and just does much more than we
> really need. And it does *not* support dds images.
>
> DevIL however is small (~800kb dll), supports dds files (which is the
> format requested that started this whole thread) and doesn't require
> many other libraries it depends on.
> http://openil.sourceforge.net/
>
> So my favorite for now is DevIL...

Another option might be http://freeimage.sourceforge.net/ - which also
looks pretty good & not too large (1MB DLL). Although, I think the
optimum way might be just to support a simple plugin interface. That way
you keep your options open.

Cheers,
        Will.

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