[Tutor] Converting between image types

Thomi Richards thomi at imail.net.nz
Sun Nov 16 17:17:42 EST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 17 Nov 2003 11:10, Rafael Sousa wrote:
> I need to convert gif images to png's. Is there a python module that does
> this?

The python imaging library does this just fine ;) do a google on "python 
imaging module", and you'll get it ;)

>
> If not, can anyone please tell me what's the best way to do this?
>

Using the above library, you can do this conversion in < 5 lines of code ;)

HTH!

- -- 
Thomi Richards,
http://once.sourceforge.net/


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/t/eG2tSuYV7JfuERAp0OAJ46Oioa9FpBG1dyx7teUVM/yNBMXACeN+YE
7jmoFChD9dZSbc6OXw60Tak=
=fjM2
-----END PGP SIGNATURE-----




More information about the Tutor mailing list