cl-jpeg
cl-jpeg copied to clipboard
A Common Lisp library for reading and writing JPEG image files
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...
https://github.com/sharplispers/cl-jpeg/blob/ec557038128df6895fbfb743bfe8faf8ec2534af/jpeg.lisp#L317 https://github.com/sharplispers/cl-jpeg/blob/ec557038128df6895fbfb743bfe8faf8ec2534af/jpeg.lisp#L360 This optimization is instantaneous enough to be unnoticeable compile-time-wise, and the printouts generate unnecessary noise while the system is compiled.
it would be great if we had support for progressive jpeg images.
Eval this to reproduce the bug: - (load "~/quicklisp/dists/quicklisp/software/cl-jpeg-20170124-git/package.lisp") - (load "~/quicklisp/dists/quicklisp/software/cl-jpeg-20170124-git/jpeg.lisp") > +q-luminance+ is unbound To fix it separate the macro forms that are dependent upon each other. Perhaps...
Turning safety to 0 for so much of the code is a bad idea, and can mask real bugs. See next issue...