Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Oct 2013 22:48:39 -1000
From:      Parv <parv@pair.com>
To:        Olivier Nicole <olivier.nicole@cs.ait.ac.th>
Cc:        Ivailo.TANUSHEFF@raiffeisen.bg, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Remove duplicate images
Message-ID:  <20131025084839.GA1539@holstein.holy.cow>
In-Reply-To: <CA%2Bg%2BBviLWwu0wY=jVO8efZNrL0cW42XeXb6NwrnuL4UY3Uc9KQ@mail.gmail.com>
References:  <wu7li1i111d.fsf@banyan.cs.ait.ac.th> <20131024214804.GA26685@ethic.thought.org> <CA%2Bg%2BBviZ_YW=sqYCghfUZy9GS8jwXonKr4bseoa5ebgQ2B0DMw@mail.gmail.com> <OF51037A5B.EEAB89DC-ONC2257C0F.001F03E4-C2257C0F.001F527C@LocalDomain> <CA%2Bg%2BBviLWwu0wY=jVO8efZNrL0cW42XeXb6NwrnuL4UY3Uc9KQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
in message
<CA+g+BviLWwu0wY=jVO8efZNrL0cW42XeXb6NwrnuL4UY3Uc9KQ@mail.gmail.com>,
wrote Olivier Nicole thusly...
>
> >> Thanks, I am looking for something a bit more sophisticated,
> >> that can find images that have been resized, rotated, gone
> >> through some transformations, changed format (gif to png), etc.

I have a modified version ...

  http://www.bitter-almonds.com/comp/src/perl/similar-image

... of ...

  http://www.stonehenge.com/merlyn/LinuxMag/col50.html


... (written in Perl) that asks which files to delete when digest
checksum are identical. Else, props ImageMagick window[0] with
similar files shown; after quiting that window, asks about which
files to remove[1].  (The removal can be made automatic at least in
case of identical file size and checksum, if one desires.)

See the stonehenge.com URL for background.


  [0] Press "space" key in ImageMagick window to navigate to the
      next set of images for visual comparison.

  [1] The numbers on console|xterm have 0-based index, while
      ImageMagick window has 1-based index. Yes, I need to fix this.

-- 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131025084839.GA1539>