I'm not sure if this helps, but we use PIL (and ImageMagick) to return  
images to the browser in Zoto:

http://code.google.com/p/zoto-server/source/browse/trunk/aztk/lib/imagemanip.py

Are you generating a new image from scratch, or reading it directly  
from the disk and modifying it?

K

On Jun 3, 2008, at 2:05 PM, deezee wrote:

>
> Hello everybody!
> I'm pretty new in Pylons world - today i downloaded and installed
> software. So, some stupid question:
>
> How to send (simplest way) image from PIL to template  (browser)
> without saving file?
> I'm playing around helloworld sample, but i want to see picture
> instead of text. I can generate one by PIL, and send by c.image, but
> till now i just have <PIL.Image......> marker, no image itself.
> In PHP it's quite simple, don't believe something newer is more
> complicated..
>
> Ł
>
> >

Thanks for taking Splunk for a spin.  It appears you may be a  
developer, and I wanted to reach out and contact you regarding our  
development program.

I am Splunk's development evangelist, and directly manage the  
program.  If you are interested in developing applications to extend  
the functionality of Splunk, I can serve as your contact for support  
and business development efforts.

The new REST APIs provide a powerful way of accessing the data stored  
in Splunks advanced indexing engine.  You can find a wealth of  
information on our site, the developer's wiki, and our documentation  
pages:

http://www.splunk.com/article/2472 - example applications
http://www.splunk.com/developers - developer's pages
http://www.splunk.com/doc/3.3/developer/DevOverview - developer's  
documentation
http://code.google.com/p/splunk-labs - developer's wiki

Please don't hesitate to contact me directly by either email or phone  
if you have any questions regarding developing against the product!

Cheers,

Kord Campbell
Chief Evangelist
Splunk> "The KGB of IT"
(p) 415.848.8483
(c) 405.627.0821


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to