cl-jpeg
cl-jpeg copied to clipboard
encoding image to bytes in memory?
Would it be possible to export the encode-image-stream
method to encode the image into a flexi-streams or some such type? I am trying to use this library to generate base64 images on the fly. Also, am a newb to common lisp. So please point to an alternative approach to temp/in-memory files that I can use with encode-image
if there is one. Thanks!
Hi,
I'll add the export.
Would it be possible to export the
encode-image-stream
method to encode the image into a flexi-streams or some such type? I am trying to use this library to generate base64 images on the fly. Also, am a newb to common lisp. So please point to an alternative approach to temp/in-memory files that I can use withencode-image
if there is one. Thanks!
To create a temp file, you can checkout CL-FAD's temporary files.