Mailinglist Archive: opensuse-factory (286 mails)

< Previous Next >
Re: [opensuse-factory] comparing png files for build-compare
  • From: Ludwig Nussel <ludwig.nussel@xxxxxxx>
  • Date: Fri, 27 Aug 2010 10:39:53 +0200
  • Message-id: <201008271039.53943.ludwig.nussel@xxxxxxx>
Andreas Jaeger wrote:
For build-compare, we compare that the files are the same of the
current build and the last build - and thus throw away the new
build if they are the same.

For this we can ignore all timestamps.

I now have a problem with png files, they contain timestamps, e.g.:
/usr/share/icons/Tango/24x24/actions/address-book-new.png differs ( PNG image
data, 24 x 24, 8-bit/color R
[...]
How can I compare two png files with ignoring the timestamp?

According to the build log the file is generated using ImageMagick's
convert tool. Google finds this:
http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=16406
Describes both how to compare image files and how to get rid of the
time stamps in the first place.

cu
Ludwig

--
(o_ Ludwig Nussel
//\
V_/_ http://www.suse.de/
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References