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

Re: TortoiseIDiff "compare" vs. "show difference"

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: 2007-07-19 15:45:38 CEST

On 19/07/07, Stefan Küng <tortoisesvn@gmail.com> wrote:
> On 7/19/07, Simon Large <simon.tortoisesvn@googlemail.com> wrote:
> > On 19/07/07, Stefan Küng <tortoisesvn@gmail.com> wrote:
> > > On 7/19/07, Lorenz <lorenznl@yahoo.com> wrote:
> > >
> > > > The layout editor (circuit diagrams and board layouts) we are using
> > > > (cadsofts EAGLE) has no diff tool of its own, so I'm exporting to bmps
> > > > and comparing them.
> > >
> > > I know that one very well :)
> > >
> > > > For that purpose it would be nice if TortoiseIDiff could not only show
> > > > an overlay of both bmps, but also a difference bmp (numerical,
> > > > per-pixel difference).
> > > > One then could locate differing section easyly, zoom-in and switch
> > > > back to the overlay mode to examine in-detail.
> > > >
> > > > Any change such thing could be implemented?
> > >
> > > I'm sorry, but I don't understand what you mean with "difference bmp".
> > > Do you maybe mean instead of alpha-blending the two images over one
> > > another use maybe XOR (or some other combining algorithm) to 'merge'
> > > the images together?
> >
> > Blending = (pixelA + pixelB) / 2;
> >
> > Difference = func(pixelA - pixelB);
> >
> > or something like that, so you get plain areas where the content is
> > identical, and hotspots where there are differences. Maybe this can be
> > done by making one of the images negative and using 50% alpha blend?
> >
> > That sounds like a useful feature for quickly finding what has changed
> > in a graphic file.
>
> you mean this?
> http://issues.tortoisesvn.net/index.php?do=details&task_id=300

Well naturally I like my idea better ;-)

PCB (gerber) viewers tend to use bright primary colours for the
layers, so using a bright colour to indicate change may not be that
useful, unless you also reduce the brightness/contrast of the rest of
the image at the same time.

Another method is to display the absolute difference between pixels.
This might work well with a blend slider, as you get pure image at
either end of the slide scale, pure difference in the middle, and a
mix in between.

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Jul 19 15:44:49 2007

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.