From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JJ9tg-0007sm-Om for garchives@archives.gentoo.org; Sun, 27 Jan 2008 15:58:16 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7EA4EE0598; Sun, 27 Jan 2008 15:58:15 +0000 (UTC) Received: from localhost.localdomain (92.44.227.87.static.f.siw.siwnet.net [87.227.44.92]) by pigeon.gentoo.org (Postfix) with ESMTP id 37498E0598 for ; Sun, 27 Jan 2008 15:58:15 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id 16BB73F6413 for ; Sun, 27 Jan 2008 17:00:14 +0100 (CET) Message-ID: <479CAA8E.70305@gmail.com> Date: Sun, 27 Jan 2008 17:00:14 +0100 From: Erik User-Agent: Thunderbird 2.0.0.9 (X11/20071124) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] diff command for images References: <479C8D07.2040508@gmail.com> <200801271610.19000.mail@eliasprobst.eu> In-Reply-To: <200801271610.19000.mail@eliasprobst.eu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 7ba2465e-32cf-4778-924c-dd1b081f2bd6 X-Archives-Hash: 10e9dfe5827760e602ee928d6cf60a12 Elias Probst skrev: > Am Sonntag, 27. Januar 2008 14:54:15 schrieb Erik: > >> I need to find the difference between images (like the text-file diff >> command, but for RGBA images). I tried "compare A.png A.png >> difference.png". This should obviously produce some kind of blank image >> because A.png and A.png are the same file, but for some weird reason the >> produced difference.png has recognizable content! Is there a fix for >> that bug or any other image diff program that is sane? >> > The easiest way for doing this, is using GIMP. > - Use one layer for each image > - Use the 'Subtract' mode for displaying the second layer > Not sure how to do this. I am not a graphic artist. But I just open it with "gimp a.png b.png" and press Ctrl-C in one image, switch to the other and press Ctrl-V. That seems to create a second layer. Then I have no idea what to do. A simple command would be useful. I might have to regression-test 1000 images in a svn commit because some of them seem to have been modified by optipng. -- gentoo-user@lists.gentoo.org mailing list