Pierre Neidhardt <[email protected]> writes: > Yoni Rabkin <[email protected]> writes: > >>> (setq err (call-process "convert" nil '(t t) >>> nil >>> "-resize" (format >>> "%sx%s" size-value size-value) >>> cover >>> cache-dest-file))))) >> >> If emacs has been compiled with imagemagick support, it should have some >> of these features built-in. I think that Emacs does its own image >> caching as well. Is is possible to leverage that instead of making an >> external call? > > That was one of my main concerns for optimization. If you look at my > code, you'll see that I'm using the ImageMagick library > > (image-size (create-image c) t) > > The library does not seem to provide any feature for _resizing_ an > image. > > I hope you can prove me wrong.
I assumed it did without checking; I assumed wrong. Perhaps a patch to src/image.c and lisp/image.el is the future as well. -- "Cut your own wood and it will warm you twice" _______________________________________________ Emms-help mailing list [email protected] https://lists.gnu.org/mailman/listinfo/emms-help
