[Image-SIG] Re: comment

Fredrik Lundh fredrik at pythonware.com
Sun Apr 18 08:13:11 EDT 2004


Kai Hendry wrote:

> Thanks Fredrik for previous reply.
>
> I want to read (and insert) comments into my jpeg files.
>
> I like to do this the way jhead does it:
> jhead -cl "A longer comment" pict0725.jpg
>
> But it's difficult to just read out the comment field in jhead (at least
> I have not discovered to do it).
>
> Anyway, preferably I would do this in python. Is there some way of
> reading the comment field?

yes, but you need to patch your PIL installation:

http://mail.python.org/pipermail/image-sig/2004-January/002534.html

</F>






More information about the Image-SIG mailing list