From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/53662 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: comparing pdfs Date: Sun, 25 Oct 2009 10:16:59 +0100 Message-ID: <4AE4178B.4090504@elvenkind.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1256462234 16672 80.91.229.12 (25 Oct 2009 09:17:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Oct 2009 09:17:14 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Oct 25 10:17:07 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1N1zDm-0005uW-PN for gctc-ntg-context-518@m.gmane.org; Sun, 25 Oct 2009 10:17:06 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 84C3FC9ABB; Sun, 25 Oct 2009 10:16:02 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 7iEmQC2PM2R5; Sun, 25 Oct 2009 10:15:59 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CA2C9C9AAA; Sun, 25 Oct 2009 10:15:59 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 409D1C9A41 for ; Sun, 25 Oct 2009 10:15:59 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id QMlBZeAcnB4i for ; Sun, 25 Oct 2009 10:15:56 +0100 (CET) Original-Received: from smtp-vbr7.xs4all.nl (smtp-vbr7.xs4all.nl [194.109.24.27]) by balder.ntg.nl (Postfix) with ESMTP id 7C636C9AAA for ; Sun, 25 Oct 2009 10:15:56 +0100 (CET) Original-Received: from [192.168.178.26] (boo.demon.nl [82.161.175.147]) (authenticated bits=0) by smtp-vbr7.xs4all.nl (8.13.8/8.13.8) with ESMTP id n9P9H0g8094491 for ; Sun, 25 Oct 2009 10:17:00 +0100 (CET) (envelope-from taco@elvenkind.com) User-Agent: Thunderbird 2.0.0.21 (X11/20090330) In-Reply-To: X-Virus-Scanned: by XS4ALL Virus Scanner X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:53662 Archived-At: luigi scarso wrote: >> $> cmp test-1a.pdf test-1.pdf >> test-1a.pdf test-1.pdf differ: byte 35086, line 220 >> of course at least /ID is different You could run $ diff -a test-1a.pdf test-1.pdf instead, because diffs in the binary sections are unlikely in such cases, and it is (relatively) simple to disregard changes in /ID and /CreationDate. >> $>for j in `seq 1 4`; do cmp test-1a--$j.ppm test-1--$j.ppm ; done >> and, again of course, *no differences* because the files are equals page-by-page >> -- so they are equals >> >> Is there a way more quick and clean than for cycle and ppm files? > Any idea ? If the above command gives noticeable difference, afaik bitmap compares are the only option that is left. Best wishes, Taco ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________