imageObj::write() is awaiting some Perl, Java, and C# users to
contribute typemaps that will convert your favorite language's
file descriptors to C FILE*. I'm going to be too busy before the
release to do this for every language, so am counting on some people
to step up to the plate.
The write() method dumps an image to an open filehandle. Default
would be stdout, and I think this default will probably work even in
the absence of a typemap. Would let you do this
print "Content-type: " + image.format.mimetype + "\n\n"
image.write()
to send imagery to a web browser. If you want to save imagery to
a scalar or pipe it to ImageMagick or whatever, you'll need a typemap.
Anyone willing to write, test, and submit this before the release?
Reporter: sgillies@frii.com Date: 2004/11/13 - 21:16