Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
sending binary data from rcairo through cgi
SteveC
7/13/2005 12:36:00 PM
I get
[Wed Jul 13 12:05:08 2005] [error] mod_ruby: /usr/local/lib/site_ruby/1.8/cairo.rb:21:in `new_png': wrong argument type Apache::Request (expected File) (TypeError)
when attempting to pipe output from rcairo through cgi using
cr = Context.new
cr.set_target_png($stdout , FORMAT_ARGB32, WIDTH, HEIGHT);
It is ok with stdout when running on the command line, but not when
through mod_ruby. My two questions are 1) Can I get the output stream
from cgi and give it to rcairo somehow and if that works 2) will it be
happy having binary data thrown down that pipe to the browser?
TIA
have fun,
SteveC steve@fractalus.com
http://www.fractalus....
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
sending binary data from rcairo through cgi
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password