img2pytk.py ; any users out there ?

Georgy Pruss SEE_AT_THE_END at hotmail.com
Sun Oct 26 15:49:12 EST 2003


"Gary Duncan" <gmduncan at netspace.net.au> wrote in message news:3F9B9688.8030504 at netspace.net.au...
>
> The original had a serious/fatal performance problem concerning big
> images which I've fixed (string concatenation issue; ''.join() needed

You can even change it to "literal concatenation" :)

img00 = tk.PhotoImage(format='gif',data=
            'R0lGODlhQABVAPcAAAoFB45/ZE8zb1BDMGxZcEwWPvHAqGpgpoiBuh4jFbRe'
            'cMSgisQydHRmT0IEFY+CindtcicOJBEUC09JUHQlQFIkMUNGcrF5bMldpKBQ'
            ...........
            'zlh8z1/d1RDNBxBABlaA1fZsz1bA1MltBV+g3AxMDYSpEZU9tRIQEAA7')



-- 
Georgy Pruss
E^mail: 'ZDAwMTEyMHQwMzMwQGhvdG1haWwuY29t\n'.decode('base64')






More information about the Python-list mailing list