<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1126" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I'm resending this, and including the 
Python-list..as suggested by the PIL support page.</FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>Hi.  I'm 
using the Python Image Library  to do some image manipulations.  I 
like that the PIL <BR>objects have attributes like format, size, info 
(dictionary) etc.  My problem is...when I <BR>apply some filter, say 
ImageChops.invert, or Image.transpose, it looses <BR>the addributes.  For 
example<BR><BR>> if DEBUG: print "Before transpose, format is: " + 
str(pil.format)<BR>> pil = pil.transpose(Image.FLIP_LEFT_RIGHT)<BR>> if 
DEBUG: print "After transpose, format is: " + str(pil.format)<BR><BR>the first 
output prints "JPEG" or "GIF" or whatever.<BR><BR>after the transpose, the 
output is "None"<BR><BR>I tried this with and without the str() wrapper.  
So...I'm guessing that <BR>the copy that returned from the transpose (or other 
filters) is part of <BR>the problem maybe?  Do I need to use some kind of 
copy constructor or <BR>something?  The same thing happens with the size 
attribute, or the info <BR>dictionary that I add.  </FONT></FONT><FONT 
face=Arial size=2><FONT face="Times New Roman" size=3><BR><BR>Any hints at all 
on this would be very appreciated.  It's really <BR>throwing a wrench into 
my app.<BR><BR>Thanks,<BR>Matt</FONT><BR></DIV></FONT></BODY></HTML>