Re: [SOLVED] Re: [PROBLEM] The commit "e1f09607e0" caused org-mode inline image preview try to convert PDF file link
"numbch...@gmail.com" writes: > Thanks Lars. I will wait for new update in Emacs source code, then re-compile > Emacs. The fix has been pushed already. :-) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
[SOLVED] Re: [PROBLEM] The commit "e1f09607e0" caused org-mode inline image preview try to convert PDF file link
Thanks Lars. I will wait for new update in Emacs source code, then re-compile Emacs. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Sat, Aug 22, 2020 at 9:03 PM Lars Ingebrigtsen wrote: > "numbch...@gmail.com" writes: > > > The commit "e1f09607e0" caused this problem. I confirmed by git > > checkout a commit before it. And re-eval source code, then the problem > > is gone. This is because the commit added > > ~image-converter-file-name-extensions~ in image-convert.el library > > which includes "pdf" file extension. It uses command "gs" to convert > > pdf to image which use 100% of CPU. > > I think image-converter.el should have a list of types that it shouldn't > attempt to convert, even if the backend says that it can. PDF/PS are > obvious things -- they aren't images, but imagemagick will offer to > display them anyway. > > I'll add that to Emacs 28. > > -- > (domestic pets only, the antidote for overdose, milk.) >bloggy blog: http://lars.ingebrigtsen.no >
Re: [PROBLEM] The commit "e1f09607e0" caused org-mode inline image preview try to convert PDF file link
"numbch...@gmail.com" writes: > The commit "e1f09607e0" caused this problem. I confirmed by git > checkout a commit before it. And re-eval source code, then the problem > is gone. This is because the commit added > ~image-converter-file-name-extensions~ in image-convert.el library > which includes "pdf" file extension. It uses command "gs" to convert > pdf to image which use 100% of CPU. I think image-converter.el should have a list of types that it shouldn't attempt to convert, even if the backend says that it can. PDF/PS are obvious things -- they aren't images, but imagemagick will offer to display them anyway. I'll add that to Emacs 28. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no