[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Image metadata (was: imagemmagick patch 5)

From: Juri Linkov
Subject: Image metadata (was: imagemmagick patch 5)
Date: Tue, 30 Mar 2010 19:12:31 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu)

>>>> 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 "address@hidden@"
   249 "address@hidden"

`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 "address@hidden@"
                   249 "address@hidden")

Juri Linkov

reply via email to

[Prev in Thread] Current Thread [Next in Thread]