From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Image metadata (was: imagemmagick patch 5) Date: Tue, 30 Mar 2010 19:12:31 +0300 Organization: JURTA Message-ID: <874ojxhpqg.fsf_-_@mail.jurta.org> References: <87lje9xs4w.fsf@mail.jurta.org> <873a0d1j46.fsf@mail.jurta.org> <87vdd9rwia.fsf@mail.jurta.org> <87bpf0dmbn.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1269966154 31401 80.91.229.12 (30 Mar 2010 16:22:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 30 Mar 2010 16:22:34 +0000 (UTC) Cc: joakim@verona.se, Emacs development discussions To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 30 18:22:30 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NweCz-0000Cj-NL for ged-emacs-devel@m.gmane.org; Tue, 30 Mar 2010 18:22:30 +0200 Original-Received: from localhost ([127.0.0.1]:41670 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NweCz-00075j-4F for ged-emacs-devel@m.gmane.org; Tue, 30 Mar 2010 12:22:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NweBH-0006FR-7W for emacs-devel@gnu.org; Tue, 30 Mar 2010 12:20:43 -0400 Original-Received: from [140.186.70.92] (port=53697 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NweBD-0006Cr-VF for emacs-devel@gnu.org; Tue, 30 Mar 2010 12:20:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NweBB-0002J8-Oq for emacs-devel@gnu.org; Tue, 30 Mar 2010 12:20:39 -0400 Original-Received: from smtp-out1.starman.ee ([85.253.0.3]:48448 helo=mx1.starman.ee) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NweBB-0002Iu-G7 for emacs-devel@gnu.org; Tue, 30 Mar 2010 12:20:37 -0400 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Original-Received: from mail.starman.ee (82.131.68.10.cable.starman.ee [82.131.68.10]) by mx1.starman.ee (Postfix) with ESMTP id 370603F4087; Tue, 30 Mar 2010 19:20:31 +0300 (EEST) In-Reply-To: (Stefan Monnier's message of "Sun, 07 Mar 2010 16:23:57 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:122922 Archived-At: >>>> it returns a raw representation of the extension data of a given (sub)image. >>> Again, what is meant by "extension" here? >> It seems the term "extension" is GIF-specific. The GIF specification says >> that extension blocks "extend" the 87a definition to allow extensions like >> the Graphic Control Extension that specifies the animation delay time, etc. > >> The parameter `count' is used in animation, but unrelated to "extension". >> Perhaps a more common term for `count' would be "metadata". > > Then we should rename image-extension-data to image-metadata, I think. The problem is that one part of the current `image-extension-data' is metadata, and another part is extension data. For instance, in (count 44 255 "NETSCAPE2.0" 0 "^A^@^@" 249 "^D^M^@\377" ) `count 44' is metadata, and the rest (with non-descriptive numeric keys) is extension data. Maybe the list returned by the new function `image-metadata' should be like: (count 44 extension-data (255 "NETSCAPE2.0" 0 "^A^@^@" 249 "^D^M^@\377") ) -- Juri Linkov http://www.jurta.org/emacs/