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.

43 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
13
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
132 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 ...
4
votes
0answers
889 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
129 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
322 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 ...
3
votes
1answer
460 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 ...
3
votes
0answers
96 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
45 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
170 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
39 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-...
2
votes
0answers
175 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?
2
votes
0answers
99 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
1answer
156 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
64 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
26 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
1answer
56 views

org-mode: Set maximum image width limit

Using org-image-actual-width will both downscale and upscale. I just want to downscale big images to fit the current width. Any ideas?
1
vote
0answers
28 views

Preview images, and PDFs inside a SSH terminal session or inside emacsclient session via SSH?

I work remotely to Linux servers, writing R scripts with ESS. Rstudio works well if I have a fast and stable GUI-based remote desktop connection to the server. Rstudio server also works OK if I have ...
1
vote
0answers
36 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
68 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." ...
1
vote
0answers
80 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-...
1
vote
1answer
147 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
106 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
144 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
1k 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
243 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
198 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
1answer
19 views

How to control image sizes inside of table

I know that you can write something like: #+attr_html: :width 250 px [[./linl/to/image.jpg]] But what if I have them inside of a table like: | [[./linl/to/image.jpg]] | [[./linl/to/image2.jpg]] | ...
0
votes
0answers
9 views

How can I specify max height and/or width of images displayed in eww?

eww loads images at full size which consumes far too much space in some sites. How can I scale all images on a page (or all pages) so that they don't exceed a specified height or width?
0
votes
0answers
38 views

How can I rotate and then save an image with Emacs 27.1?

It's nice that 27.1 has in-built image rotation. No dependency on ImageMagick for that. However, it seems to only allow rotation for viewing (r/l) while I don't see any way of saving that rotated ...
0
votes
0answers
25 views

Can't open image inside org file: openwith-file-handler

Linux Mint 19.3 Emacs 26.1 In my org file: * TODO Test insert image Test this #+CAPTION: This is the caption for the next figure link (or table) #+NAME: Deepspace [[./KLOCKA6.JPG]] * ...
0
votes
1answer
43 views

How to set width for subfigures inside a table in a org-mode file?

I'd like to use subfigures in org-mode files. In MS Word, this could be easily done by inserting the subfigures of a figure into a table with invisible borders. Then the size of each subfigure can be ...
0
votes
0answers
20 views

Emacs PNG as a text showing freezes

I am trying to see image as a text but when I compile this program in Emacs it freezes. Is the problem in Emacs when showing images as text? My Python code is right below. import requests as req ...
0
votes
0answers
18 views

emacs Imagemagick apply color transformation

I was looking to apply color transformation to images displayed in emacs. For example, with imagemagick, the following will invert image color. convert input.png -channel RGB -negate -modulate 100,100,...
0
votes
0answers
23 views

insert-image doesn't work in the org code block

I have an org file, which contains the following text: #+begin_src elisp (insert-image (create-image "/home/searene/Pictures/Selection_007.png")) #+end_src When I press C-c C-c to ...
0
votes
0answers
30 views

How to display inline images from web links

Do you know if there is a way to display inline remote images, as in inserting their link and having them displayed in orgmode? Thanks.
0
votes
0answers
55 views

Org-mode, how can I export my images in different float enviroment?

I need to export some images in different type of float in latex (i.e. \begin{map}). An example of latex code is here. How can I define image attributes in org-mode to achieve that?
0
votes
0answers
70 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
42 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
26 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
138 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
42 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
90 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?...