-
-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Images are not rendered. Imagemagick issue #397
Comments
Oh my. In case you installed Emacs+ some time ago and then did run |
Ok I tried:
PNG and JPG are working now but SVG still gives problem: Opening a SVG I get: |
This seems to be related to. imagemagick:
any idea what my be causing this? |
This works: so it seems that the current version of convert requires you to specify the image size for svg files. |
It is very strange the list of delegate clearly shows that it is using rsvg-convert to do the transformation fred$ convert -list delegate |grep svg
and this works if I call it directly |
After further research it seems that some svgs work while other don't. SVGs that are missing the viewport do not work. The weird thing is that when I tried emacs-mac homebrew the same svg works fine. I'm not sure how they did it. |
@fkgruber nice investigation 🕵️ Could you please send me an example SVG so I can check this. I do preview images in Emacs, but SVG support was always clunky, so I don't use it for that.
They are using different renderer, which I guess tolerates stuff like this. |
I'm interested in rendering SVG to include handwritting content to my org-roam notes: handwriting I'm attaching 2 svgs. The Yin_yang.svg should work fine. I then removed the viewport from it and saved it as yinyang2.svg. That one does not work for me. Can you replicate that behavior? |
I can replicate this issue with Emacs installed via |
I installed emacs 27 with
brew install emacs-plus@27 --with-modern-orange-icon --with-xwidgets
I can't open any images files. They are blank. Images embedded on orgmode are also blank.
the Message buffer gives error:
Output of
brew config
Output of
brew doctor
thanks
FKG
The text was updated successfully, but these errors were encountered: