Questions tagged [images]

for Emacs support (edit, display, etc.) of images (e.g., jpeg, png, svg). For questions about image metadata, use the tag 'image-mode.

32 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
11
votes
0answers
3k views

Inline SVG's in org-mode?

I can see many image formats in orgmode, but not SVG. I get the error Invalid image type 'svg' when I run org-display-inline-images. It should be possible given this question exists: https://www....
4
votes
0answers
711 views

orgmode image export side by side to both latex and html

In org export, I want to place two images side by side. I want them to be side by side in both LaTeX export and HTML export. In the example below, the first pair works for LaTeX and the second pair ...
4
votes
0answers
107 views

Emacs: mark contents as type image in copy to clipboard

When using pdf-tools (https://github.com/politza/pdf-tools) I'd like to be able to select and area and copy it to the clipboard as an image, so as to insert into other applications. Selecting is easy ...
3
votes
0answers
61 views

dvisvgm baseline in org-mode HTML export

When using #+OPTIONS: tex:dvisvgm and exporting to HTML with org-mode, the baseline of the latex exported images does not match the baseline of the text (when using subscripts, for instance). Is there ...
3
votes
0answers
74 views

Disable multi frame images from “playing” by default

How can one globally disable multi-frame animated graphic files (gif, tiff, etc.) from playing? Multi-frame images, for example animated GIFs, play by default. I would like to globally disable that ...
2
votes
0answers
27 views

Why is EWW unable to place images into tables

Web pages are rendered with the simple html renderer shr in the Emacs webbrowser EWW. Pitingly, images in tables are displayed below the tables. The source code of shr contains the following comment ...
2
votes
1answer
102 views

set `all-the-icons-dired` to use consistent directory icon?

I installed all-the-icons-dired package from melpa, however, it does not use consistent icons for directories. Some directories have their own special icon. Example, these are two directories: The ....
2
votes
0answers
229 views

exporting .svg images to .pdf in org-mode

I have a set of .svg images that I need to export to pdf by using org-mode. Even though I can see the images inside emacs, I cannot export them to .pdf. On the other hand, if I export my .org file to ...
2
votes
0answers
240 views

How to see preview of svg file I'm editing?

I'm editing a svg file and want to see how it looks like. I tried opening a window with the same buffer and change to image-mode but it change the mode in both windows. I tried opening the same file ...
2
votes
0answers
92 views

images on github wiki and PDF export

I have a org-mode document, with some inline images: [[path/to/image.png]] These render properly on GitHub wikis, but fail when I use org-latex-export-to-pdf. However, I can get the pdf export to ...
2
votes
0answers
100 views

org-latex-fragment gets cutoff

I use dvisvgm to generate latex fragments. However, some of my equations seem to be cut off. One example is below The svg file generated does not have the cutoff but the image as displayed in emacs ...
2
votes
0answers
57 views

xpm-images: `:color-symbols` not working?

I'm trying to load an xpm image file looking like the following: /* XPM */ static char *_0[] = { /* columns rows colors chars-per-pixel */ "15 16 3 1 ", "w c white", "b c black", " c None", /* ...
2
votes
0answers
25 views

Is there a way to treat an inline picture (a link rendered as an image) as one character in org table?

Is there a way to treat an inline picture (a link rendered as an image) as one character in org table? When I align an org table that has a small image in a field, the alignment gets really messy, ...
1
vote
0answers
44 views

SVG image display blurry

When I open SVG files in Emacs they appear blurry. The SVG files themselves are fine (when I open them in Firefox they scale perfectly). My Emacs is compiled with svg support (librsvg), so it should ...
1
vote
0answers
30 views

Enlarge a svg image in org

I have such a svg picture and test equality by using the following relations: [[file:fig/math/55d25a70d9db3c6d95666151a04c4869.svg]] We can express these rules as procedures: Then enlarge it What'...
1
vote
0answers
37 views

Intelligent downscaling for inline images

I'd like to achieve the following intelligent scaling of inline images: If image-actual-width > 800: scale it down to 800 Else: display image without any further scaling Doing (setq org-image-...
1
vote
1answer
95 views

How do I display an image full width?

I am using GNU Emacs to display the cover of the album mpd is currently playing, inserting it into a *jukebox* buffer with this code: (put-image (create-image albumartname 'imagemagick nil :width ...
1
vote
0answers
102 views

Rotate images in org mode

When I toggle inline images I can see the image. But I want to rotate it. There is an option to specify a custom width using: #+ATTR_ORG: :width 80 Is there a similar option to rotate the image?
1
vote
0answers
92 views

gnus do not display images

I subscribe gwene.com.stackexchange.tex from gnus. The images includes in an article are displayed as a black rectangle. After a lot of time images can display as they should, but after emacs-...
1
vote
0answers
97 views

org-mode and insert-sliced-image

I read in the Emacs manual online about using insert-sliced-image to create smooth scrolling with inline images. I would like to use this to override org-toggle-inline-images, so that I can get ...
1
vote
0answers
930 views

.png's not displaying

I recently uninstalled emacs 24.3 and then installed 24.5.1, because I was not able to update Spacemacs in 24.3. Now .png images are not displaying, including the spacemacs logo that should appear on ...
1
vote
0answers
240 views

Imagemagick? Rebuild necessary?

I'm running emacs 25.0.50.1 on Mac OS X 10.10.2 I want to use image magick, do I need to rebuild this version of emacs? Is there an easy solution? All best,
1
vote
0answers
185 views

Toolbar icons unable to load when running Emacs through xhost from FreeBSD to Ubuntu

I'm connected to a FreeBSD Computer using ssh [ip] -X, and emacs launches just fine, but this happens and all the icons are little pieces of paper with red X's: > emacs (emacs:22812): GdkPixbuf-...
0
votes
0answers
16 views

Ubuntu Emacs 26.3 svg image viewing not working

harold@cayse:~$ emacs --version GNU Emacs 26.3 Copyright (C) 2019 Free Software Foundation, Inc. GNU Emacs comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of GNU Emacs under the terms ...
0
votes
1answer
15 views

Copy images in buffer

I'd like to copy part of a buffer including all images. The code below copies the text but not the image. How do I copy images and how do I search for images in a buffer? (insert (with-current-...
0
votes
0answers
21 views

Can image-dired track renamed files?

I would like to view images using image-dired, then rename them. What I do at the moment: Open image-dired with my directory of choice. Mark an image that I want to rename. In the corresponding dired+...
0
votes
0answers
32 views

Change color of preview expressions in Auctex

In the customize group "Preview Appearance", I click on "Preview Face" and set "Foreground" to "red". To the right, I see the word "sample" displayed in red. Then I select "Save for Future Sessions." ...
0
votes
0answers
37 views

Render bmp images in org mode

I want to quickly embed images in an org document and am trying to use org-download to help me. However, due to a silly bug in Firefox, images are saved as .bmp files. The result is that org-...
0
votes
0answers
53 views

How to load image using iimage-mode when I first open a markdown file?

I have a file which embeds an image ![](file://tmp.jpg) I have added iimage mode to the markdown mode hook and even added recenter to it (add-hook 'markdown-mode-hook 'iimage-mode) (add-hook '...
0
votes
0answers
39 views

wrong location of displaying image in org mode

After running C-c C-c with ob-plantuml, I got this wrong location of image. , The correct location (as usual) should be,
0
votes
0answers
85 views

Generate graphics from scheme-babel export?

I'm using a nice package from a Racket user called MetaPict, however, I don't know how to export the image produced. Here's some Racket code calling MetaPict: #+begin_src scheme :session mainsession :...
0
votes
0answers
41 views

emacs dired create a copy of image with 50% brightness

I know in the command line in linux i can use image magick to quickly brighten an image convert nebula.landscape.jpg -brightness-contrast 30 bright.jpg im trying to create a function in emacs (dired?...