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.

Displaying image (i.e. picture) files such as GIF, PNG, JPEG, PostScript, SVG, etc. in Emacs.

Emacs has extensive support for images for displaying, editing, searching, file management, image caching, etc. If Emacs was compiled with support for the ImageMagick library, it can use ImageMagick to render a wide variety of images. For thumbnails, Emacs uses the Image-Dired package.

Emacs has a separate for editing images and image metadata.

Unrelated to and is the , which is for editing ASCII art, tables, and aligning text columns.

Use the appropriate combination of tags, and describe which image operations or packages, if any, pertain to your question.

167 questions
9
votes
1 answer

Show image from image url in buffer

It seems like this should be pretty straightforward since Emacs knows how to display images. In a buffer, let's say I have a URL to an image like: http://centre.nikkeiplace.org/wp-content/uploads/2012/07/aikido11.jpg I'd like to put the caret on…
bitops
  • 353
  • 1
  • 12
7
votes
2 answers

Using 'create-image' with data, not a file

I am having trouble creating images with just data: (web-http-get (lambda (con hdr data) (setq nic-profile-img-data data)) :url "http://pbs.twimg.com/profile_images/494606908385288192/Vq16xxxu_normal.jpeg") downloads an image from Twitter…
nic ferrier
  • 173
  • 5
6
votes
1 answer

Indirect buffer in image mode (main buffer in text)?

Can I edit an svg file in a text mode (say, nxml-mode) while seeing live updates to the image in another window? I can see SVG as images, or as text by using image-toggle-display, but it always toggles both buffers, even if I do…
harpo
  • 181
  • 5
4
votes
1 answer

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 do it in real time using ielm. It seems that the…
anquegi
  • 749
  • 5
  • 22
4
votes
1 answer

How can I make inline images bigger by default?

I'm a new emacs user (spacemacs, really, switched from Vim), and I'm having difficulty configuring emacs on my HiDPI display. Basically, I'm suffering from this bug. The problem is that, while I can scale the font size on emacs fine, graphics and…
Jonathan
  • 597
  • 5
  • 22
4
votes
3 answers

Elisp: Resize displayed images programmatically

I am writing a minor mode which involves fetching some pictures from url and displaying them, but some of them are way too big to fit an emacs window. How could I manage to limit the visual size of the displayed picture ? For now I am using…
deb0ch
  • 203
  • 1
  • 8
4
votes
1 answer

Automatic reload of images

In one of my windows I've opened "output.png" and I would like emacs to automatically reload it if it has changed. I would like to do this for all PNG files which are currently open, but only PNG files. How to I do this?
Stein
  • 581
  • 1
  • 5
  • 11
3
votes
0 answers

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 image. Upon rotation I don't see the buffer marked…
legends2k
  • 207
  • 3
  • 11
3
votes
0 answers

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 function in my config while retaining the ability…
prjorgensen
  • 533
  • 3
  • 12
2
votes
1 answer

Searching text in images?

Is it possible to search through text in images in emacs? I have searched for a tool, but i could not find anything. I want to scan all my documents and then search the images with emacs to find my document. For example: i scan a documnent, which…
David
  • 297
  • 1
  • 9
2
votes
1 answer

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 use that for rendering, right? (init-image-library…
MattHusz
  • 177
  • 8
2
votes
1 answer

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 1022) 0 albumartname) (The window is maximized and…
asjo
  • 1,067
  • 8
  • 12
2
votes
0 answers

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", /* pixels */ " ", " ", " …
DeX3
  • 273
  • 1
  • 7
1
vote
2 answers

Take a bitmap screenshot of a window

I'd like to take a window (or part of it) as a bitmap and save it as an image. This is basically a screenshot functionality. I'd like to do it with emacs lisp so that screenshot taking can be scripted. I'm using Aquamacs, but I'm not bound to be…
Gracjan Polak
  • 1,102
  • 6
  • 21
1
vote
1 answer

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-buffer (get-buffer-create "buf") (insert "-->") …
1
2