[Image-SIG] Freezing with PIL

Fredrik Lundh fredrik at pythonware.com
Wed Oct 4 16:08:26 CEST 2006


"CLAY SPENCE" wrote:

> After importing the image plugins, that page suggests executing
> "Image._initialized=2". My code seems to work without it. Is it a good
> idea anyway?

by default, Image.open scans the path for additional image plugins the first
time it fails to open a file using the plugins that has already been imported.

the above assignment simply disables this scan.

</F> 





More information about the Image-SIG mailing list