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.

Filter by
Sorted by
Tagged with
0
votes
0answers
26 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.
1
vote
1answer
213 views

Multiline mode-line using dynamic generated text images

I've been doing experiments at displaying static text images in the mode-line using Imagemagick to generate the image (see below). I would like now to generate such an image in a dynamic way, ...
0
votes
0answers
21 views

Scale images to fit the frame width by default?

When displaying images in Image mode the default seems to be to scale the image to fit completely within the frame. (Or within the document area of the frame to be more precise.) I find this ...
0
votes
0answers
49 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?
1
vote
0answers
18 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 ...
0
votes
0answers
34 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
26 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-...
1
vote
0answers
88 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
32 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'...
0
votes
0answers
23 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+...
2
votes
0answers
37 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 ...
1
vote
0answers
50 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
50 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-...
2
votes
2answers
61 views

image-dired: Change thickness of cursor

On a hires screen I find it really hard to see on which image the cursor currently is, because the rectangle around the image is very thin. Is it possible to increase the line width of that rectangle? ...
2
votes
1answer
129 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-...
0
votes
0answers
83 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
1answer
31 views

`create-image` works with file-location input but fails with string-of-bytes input

Am wondering if anyone can tell me what I'm doing wrong. Basically the commented out code fails.. thanks (let* ((img-file "/tmp/x.png") (img-str (with-temp-buffer (insert-file-contents img-...
1
vote
1answer
118 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 ...
2
votes
1answer
80 views

Fastest way to draw pixels in Emacs

I'm currently working on a CHIP-8 emulator. This platform requires me to draw 64x32 black/white pixels, ideally at a speed between 30 and 60 frames per second. There's an extension to it that ...
2
votes
2answers
819 views

how to auto scale images to fit into a slide in org mode export to beamer?

When I insert an image into the slide it gets cropped to fit into the slide. How do make an image to scale to fit in without cropping or padding? To include an image I use: #+LaTeX:\...
2
votes
1answer
83 views

Display JPEGs scaled to fit buffer, but PNGs without scaling?

In almost all cases, I want to see JPEGs such as photos scaled to the current buffer size. This is the default with image-mode. However, for PNG files, primarity screenshots, I want to view them ...
1
vote
0answers
134 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
100 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
1answer
670 views

SVG in realtime

I'm curious about this presentation in emacs: SVG in emacs realtime I could make it working, but refreshing the image manually, following this question and using the svg package, So I would try to ...
3
votes
2answers
131 views

xpm: Change displayed image on mouse-over in `header-line-format`

Q: How do I programmatically instruct Emacs to change a displayed image (XPM) on mouse-over in the header-line-format? For example, the following image has a black circle with a white letter X. On ...
1
vote
1answer
193 views

Displaying LaTeX equations with EWW

I've been using EWW and I noticed that it displays inline LaTeX expressions ($ ... $) but it fails to display those that have their own line ($$ ... $$). I'm attaching a print below. Have a look the ...
1
vote
1answer
233 views

Make gnus display inline html images by default

How can I make gnus display inline images from html articles by default? A command exists to display them on a per-article basis: gnus-article-show-images however I would like this behavior ...
3
votes
1answer
854 views

How to check whether ImageMagick is setup correctly on macOS?

I installed emacs on macOS by brew cask install emacs. But the functionality of resizing images doesn't work as expected. So, how to check whether the emacs distribution is built with imagemagick ...
3
votes
0answers
270 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
196 views

Emacs Popup with text and picture a la wikipedia suggestion

I'm looking for a way to display both text and a picture in Emacs in a pop-up, as it is done in Wikipedia. Is there already a solution for this?
3
votes
2answers
155 views

How to save SVG image to disk?

Looking for a tool to programmatically generate SVG images, I found that Emacs 26 can do it out of the box! Example adapted from the Elisp reference manual: (require 'svg) (let ((svg (svg-create 400 ...
4
votes
0answers
119 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 ...
1
vote
1answer
441 views

SVG image from org-babel

I am trying to create a SVG image from latex code in an org-mode file. #+name: foo #+header: :file foo.svg #+begin_src latex bar #+end_src But I keep getting the following error: executing Latex ...
6
votes
1answer
764 views

Org mode: is it possible to display ONLINE images?

Assuming I want to have an org buffer in which I can preview images from url which I don't want to store on my hard drive - is there a possibility to use a solution similar to org links and display ...
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,
3
votes
1answer
431 views

Alignment of images in HTML export

I know that I can align images in html export with the property #+ATTR_HTML: :align right upon each image link. But can I set a default for the org-document so that I do not have to add the property ...
3
votes
1answer
331 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
97 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 ...
3
votes
2answers
344 views

How can I yank images from Emacs?

I want to copy images from Emacs to macOS clipboard. I have tried selecting them and yanking, which hasn't worked. Google also didn't have a solution.
1
vote
0answers
111 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
1answer
401 views

png image support and pdftools

I have pdftools install and wish to use it with auctex. However, I cannot view the pdf as I get the error: PNG image supported not compiled into Emacs Output is simply the raw pdf. I am using emacs ...
4
votes
0answers
800 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 ...
1
vote
1answer
813 views

Org-mode export: Resize Plantuml diagram when exporting to PDF and image gets repeated

I have a simple PlantUML diagram in an org file and I want to export the entire document to pdf. The problem is that the diagram is embedded correctly, but the picture takes up an entire page. SECOND, ...
2
votes
1answer
114 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 ...
8
votes
2answers
960 views

Open SVG files in XML mode

When opening a vector icon text file for editing, Emacs first tries to display it as an image. That is wrong ; If the file has errors, Emacs (25.3.2 - x86_64-pc-linux-gnu, GTK+ Version 3.18.9) crashes ...
0
votes
0answers
87 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?...
1
vote
1answer
69 views

How to configure mouse button to execute a program in emacs

I have a lot of video files I want to filter through and delete if they are uninteresting. I opened the directory of video files in emacs and I want a left-click on the file to play that file in vlc. ...
0
votes
1answer
385 views

Cannot open JPEG files in new emacs build

When I try to open jpeg images on a new emacs build I get the error message Cannot display image: (This Emacs mishandles this image file type) I compiled on Debian Jessie and the configure commands ...