Dan,
    I'm not aware of anexisting method other than the old PNG compare
method.  We could probably add some code to gerbv to do this if it's
useful.  One method could basically step through the netlist for each
file and compare each visible entity to the other netlist and look for
matches, and flagging any non-matches.  This kind of code would probably
be similar to DRC code we may want to add in the future, so it wouldn't
be a complete waste of time.
    How different would these two files be?  Would the paths all be the
same, but just be reordered in the file?  As you well know, there are
many ways to draw the same mask, so it would have trouble finding
matches when the drawing methods differ.  The old PNG compare method
would be more accurate if this is the case.
    Another possible method would be to actually compare them in gerbv
via rendering.  Gerbv could zoom in and render a tile of a file, then
step through the gdkpixbuf to find mismatched pixels, then repeat for
other tiles.  I'm not sure how good the end result would be though.

Cheers--


On Wed, 2009-06-24 at 23:01 -0400, Dan McMahill wrote:

> Is there a way to directly use gerbv to see if two RS274-X files are 
> functionally the same or not?  By "functionally the same" I mean if you 
> made masks from the two files, would you get the same mask.
> 
> I can use gerbv to export to png and then use the ImageMagick compare 
> program to detect pixel differences in the png files but I wonder if 
> there is a way to directly do this with gerbv.
> 
> Thanks
> -Dan
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Gerbv-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gerbv-devel

Julian
------------------------------------------------------------------------------
_______________________________________________
Gerbv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gerbv-devel

Reply via email to