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.
"convert" should also be a `defvar`/`defcustom`, I'll change that.
--
Pierre Neidhardt
<ahzz_> i figured 17G oughta be enough.
_______________________________________________
Emms-help mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/emms-help