[issue13514] PIL does not support iTXt PNG chunks [patch]

2011-11-30 Thread Paul Sladen

New submission from Paul Sladen pyt...@paul.sladen.org:

The Python Imaging Library does not support handling of UTF-8 'iTXt' key:value 
chunks in PNG files:

  http://www.w3.org/TR/PNG/#11iTXt

Such support is necessary for successful extraction of key:value pairs of UTF-8 
encoded data, stored in an PNG 'iTXt' comment chunk.

The following example file (from British GCHQ) demonstrates such a record in a 
PNG file.  Based on this evidence, it is highly likely that GCHQ hide all of 
their important secrets using this kind of steganography, and likely necessary 
that spies from the rest of the world are requiring similar access to GCHQ 
secrets.  Inclusion of a working chunk_iTXt() PIL/PNG support function will 
enable more harmonious and effective eavesdropping.  Example image:

  http://www.canyoucrackit.co.uk/images/cyber.png

(The attached .py file is not a directly apply-able patch, but contains a 
working implementation for chunk_iTXt() and a demonstrative test function for 
inserting it).

--
components: Installation
files: chunk_iTXt.py
messages: 148706
nosy: sladen
priority: normal
severity: normal
status: open
title: PIL does not support iTXt PNG chunks [patch]
type: feature request
Added file: http://bugs.python.org/file23826/chunk_iTXt.py

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13514
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13514] PIL does not support iTXt PNG chunks [patch]

2011-11-30 Thread Ezio Melotti

Ezio Melotti ezio.melo...@gmail.com added the comment:

You should report this to the PIL bug tracker.  PIL is not part of the Python 
standard library.

--
nosy: +ezio.melotti
resolution:  - invalid
stage:  - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13514
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13514] PIL does not support iTXt PNG chunks [patch]

2011-11-30 Thread Paul Sladen

Paul Sladen pyt...@paul.sladen.org added the comment:

Thank you Ezio.  I could not see a separate bug tracker listed on:

  http://www.pythonware.com/products/pil/

could you help me by providing a link to where it /should/ be filed correctly 
for PIL itself.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13514
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13514] PIL does not support iTXt PNG chunks [patch]

2011-11-30 Thread Ezio Melotti

Ezio Melotti ezio.melo...@gmail.com added the comment:

You could try submitting your patch to the image-sig ML 
(http://mail.python.org/mailman/listinfo/image-sig).

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13514
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com