I'm new to PIL and wanted to use Image.tostring for inline graphics 
under mod-python. Seems like a good fit but I can't seem to come up with 
the format of the required second parameter when you do

output = im.tostring ("jpeg", ???)

The python traceback says the second parameter is required and it's 
string. I've checked out several version of the PIL handbook and tried 
figuring it out from the code for JpegImagePlugin.py but don't really 
understand how the original call maps to the plugin.

What should be put in the second parameter. Aren't all the options 
defaulted?

Thanks
Robert
--------------------------------------------------------------------------------------
If this is a duplicate of an earlier post, I had tried several times 
from another mail account and it kept getting bounced.
_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to