pil bug?
John Smith
asdf at asdf.com
Sun Nov 30 03:39:33 EST 2003
More information about the Python-list mailing list
Sun Nov 30 03:39:33 EST 2003
- Previous message (by thread): pil bug?
- Next message (by thread): medusa as win32 service
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello, I don't know if this is a bug or not, but when you convert an image
from one mode to another, the object's filename gets lost in the conversion
process.
for example:
>>import Image
>>im = Image.open('someRGB.bmp')
>>im.filename
'someRGB.bmp'
>>im = im.convert('L')
>>im.filename
error: no attribute called filename
is this a bug?
The simple solution is to assign a new attribute called filename to the
newly converted object, but it seems like filenames should probably be
kept??
opinions? suggestions?
thanks in advance
- Previous message (by thread): pil bug?
- Next message (by thread): medusa as win32 service
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list