On Wed, 3 Sep 2008 10:10:32 -0400, "Andrei Stebakov" <lispercat@gmail.com> wrote:You want to write binary data to this stream. See the sentence about
> My image handlers look approximately like:
>
> (defun image-handler ()
> (no-cache)
> (setf (hunchentoot:content-type) "image/jpeg")
> (let ((stream (send-headers)))
> (with-image (new 100 100)
> (do-something-with-img new)
> (write-jpeg-to-stream stream :image new))))
"faithful output" here:
http://weitz.de/cl-gd/#write-jpeg-to-stream
Edi.
_______________________________________________
tbnl-devel site list
tbnl-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/tbnl-devel