Fredrik Lundh schrieb: >> image.save('test', 'JPEG') >> image=StringIO(image.????()) # what's the right method? >> return image >> >>Any hints? Thanx! > > > file = StringIO() > image.save(file, "JPEG") > return file.getvalue() > That's what I wanted. Perfect! Thanx a lot! Christoph