[IMAGE-SIG] Re: findphoto/cracker.c

Shichang Zhao john1@icubed.com
Fri, 12 Dec 1997 09:39:41 -0500

Thanks, /F.

A newbie question:
           for the following code:
                import Image
                im = Image.open("lena.ppm")

            Why I can not see the image under Windows NT 4.0? or
           I have to view the image in Tkinter? This relates to the
           question of:
                  Does Tkinter calls back to Image or Image
                  get a new instance of Tcl Interpretor and display 
                  the image?

From: Fredrik Lundh <fredrik@pythonware.com>
To: Shichang Zhao <john1@icubed.com>; image-sig@python.org
Subject: Re: findphoto/cracker.c
Date: Friday, December 12, 1997 9:34 AM

>    Should I change the function call to be:
>          photo = Tk_FindPhoto(interp, argv[1]);

Correct. Sun changed the Tk API in 8.0 final.

>Another thing is: I can not find the Cracker.c file. Is it supposed to
>this file, or not?

It's a glitch in the distribution. Just comment away the reference to
the ImagingCrack function in _imagingmodule.c.

Cheers /F


IMAGE-SIG - SIG on Image Processing with Python

send messages to: image-sig@python.org
administrivia to: image-sig-request@python.org