Re: PIL problem

"Timothy HEAP" <[email protected]>
Newsgroups gmane.comp.web.zope.silva.devel
Message-ID <[email protected]>
Hi Tim

>> Just upgrading to 1.3. Creating test instances of Silva Root... if while
>> doing so i have the "Add Silva Documentation" box checked, i get the
following
>> traceback....
>>
>> The version of PIL installed is 1.1.5, which appears to be the latest.
>>
>> It is odd though, because running `file` on all of the *.png identifies
them
>> as non-interlaced.

>most possibly related to issue 1385, somehow?
>
>https://infrae.com/issue/silva/issue1385

Strange, I thought I'd installed a version of the docs which didn't have
this problem, but it's definitely there (or rather on the Web) in the latest
version.  That image _should_ be updated.

The patch is rather minimal, but reasonably effective and doesn't lose you
anything: it just stops Image.py choking when it tries to create a thumbnail
(which wouldn't be used anyway, in this case) of an interlaced PNG that
it (or rather PIL) can't read.  (As far as I can tell, the public release
of PIL isn't likley to get support for interlaced PNGs any time soon.)

t.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.