Questions tagged [image-mode]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
24 views

How to disable auto-image-mode

Whenever I open an SVG file, emacs renders the image in the buffer. I want it to let me edit the text (in nXML mode). Of course I can exit image mode with C-c C-c, but I'd prefer that my text editor ...
Joe's user avatar
  • 121
1 vote
0 answers
75 views

Display AVIF images?

I enabled image-use-external-converter, and I added avif to image-file-name-extensions and AVIF to imagemagick-enabled-types. However, that doesn't do the trick. I would like AVIF files to render in a ...
feklee's user avatar
  • 1,009
0 votes
0 answers
41 views

Can I display svg in emacs on mac / osx? [duplicate]

I briefly tried to display svg images in emacs on mac. Supposedly emacs has svg support which requires on librsvg2. But I get Cannot display image: (Invalid image type ‘svg’) when I run M-x image-...
Att Righ's user avatar
  • 661
3 votes
1 answer
122 views

Organizing images in emacs

There is image-mode and image-dired, but if you want to do anything except sequential viewing, they become clunky quickly. And they are slow for good quality photographs. I would like to be able to go ...
xeruf's user avatar
  • 294
2 votes
0 answers
155 views

How one can save images in emacs?

I am trying to open images in image-mode and apply some modifications and finally save the image with image-save. Please refer here: https://www.gnu.org/software/emacs/manual/html_node/elisp/Showing-...
Omar113's user avatar
  • 157
1 vote
1 answer
482 views

How can I display very large SVG files using `image-mode`?

I'm trying to use Emacs to visualise very large UML diagrams created by PlantUML [1]. In PNG form these diagrams have over 20000x1300 - in fact, the reason why I moved from PNG to SVG for their ...
Marco Craveiro's user avatar
1 vote
1 answer
441 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 ...
hopeless loser's user avatar
2 votes
1 answer
220 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 ...
feklee's user avatar
  • 1,009
3 votes
0 answers
844 views

Can't display images in org-mode

I am on MacOS High Sierra, iterm2; I cannot find how to display images in org-mode. My term supports image display as imgcat works well within my shell. When I try to open the image link in emacs it ...
Holzy Corp's user avatar
4 votes
1 answer
951 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 ...
matj1's user avatar
  • 41
2 votes
0 answers
864 views

Previewing large images in emacs

I've found that if I open an image in Emacs over 1MB it starts to take a while. I justed opened up a 3MB and it took 16seconds. I'm just using the default image-mode is there a better way? Is there ...
map7's user avatar
  • 493
0 votes
1 answer
156 views

C-l in iimage-mode

iimage-mode rebinds C-l to iimage-recenter instead of the usual recenter-top-bottom. What is the logic behind this remapping? If it's there, I'm guessing it must be somehow useful, despite that the ...
Calaf's user avatar
  • 483
6 votes
2 answers
1k views

iimage-mode - resize an image in Markdown mode to fit the window

I would love to be able to see images in Markdown that are rescaled to fit into my window. I googled for the answer but could not find how to rescale images shown with iimage-mode in Markdown. I can ...
Marcin Magnus's user avatar
1 vote
1 answer
324 views

Tooltip on inline images in org-mode

Is it possible to make this kind of an inline image link: [[path/to/the/image/of/a/cat][fluffy]] appear as an inline image in org-mode, and if you hover over it, you can see in the tooltip the ...
stacko's user avatar
  • 1,557
16 votes
2 answers
5k views

Is it possible to insert images from the web with its url?

Is it possible to insert images directly from the web with its url in org-mode? i.e. Can I paste something like this into emacs' buffer, so that it changes into the image of a cat in the link in image ...
stacko's user avatar
  • 1,557
0 votes
1 answer
57 views

Why is imagex-sticky-maximize working in Windows, and not in Linux

From the package imagex, I use the function imagex-sticky-maximize to maximize the image files to the current window. This works like a charm on Windows 7 x64 with Emacs 25.0.50 However, with the ...
ReneFroger's user avatar
  • 3,855
0 votes
1 answer
74 views

How supress a specific message from image/image+?

When I open an image in Emacs, there is a message constantly showing in the minibuffer: "Type C-c C-c to view the image as text." which I cleary don't want. When switching between images, the ...
ReneFroger's user avatar
  • 3,855
1 vote
1 answer
370 views

How to inject a PNG into a buffer in image-mode from a process output

I'm the maintainer of puml-mode, a major mode for editing PlantUML files. It works by submitting the content of the current buffer to an external Java process, PlantUML, which then outputs an image to ...
skuro's user avatar
  • 113
1 vote
1 answer
866 views

How to make dired-mode copy and move all marked file in all dired buffer including the one just closed?

I want to mark interesting files while I am browsing my folders, when I am done with marking, I want to copy these files to another place (with dired copy or dired-ranger-copy) or send them as ...
godblessfq's user avatar
  • 1,175
7 votes
2 answers
3k views

Which image viewer for large image collections?

From the built-in and MELPA available packages, which combination offers the easiest approach to managing a large collection of images (over 100K) in various formats (raw, jpg, tiff, png). I mainly ...
Emacs User's user avatar
  • 5,503
3 votes
1 answer
467 views

How to set thumbnail size in image-dired

I've tried setting image-dired-thumb-size (and/or image-dired-thumb-height image-dired-thumb-width) and it has no effect. I've set it globally in .emacs and in various mode-hooks, all to no avail. The ...
jtgd's user avatar
  • 924
2 votes
1 answer
730 views

Always view *.pdb files as text file

I frequently work with Protein Data Bank files. These are text files that contain atomic level structure information of molecules. They can be recognized by their '.pdb' extension. Whenever editing ...
Steven C. Howell's user avatar
1 vote
1 answer
147 views

how to use the STRING parameter in put-image?

I want to temporarily insert an image and a newline in the buffer, all using put-image. That is, I want the buffer to look like this: [IMAGE] \newline I want the newline to be part of the overlay. ...
scaramouche's user avatar
  • 1,760
6 votes
4 answers
2k views

Display images in eshell with `iimage-mode`

My default shell is eshell. I just discovered iimage-mode that allows me to display images in buffers that contain some reference to an image file. Unfortunately, I doesn't seem to have any effect ...
user avatar
22 votes
4 answers
10k views

Shrink/Zoom/Scale images in image-mode

With Emacs' doc-view-mode I can easily shrink/zoom/etc PDFs, however, I would like to be able to do the same thing with images. Currently when I open an image I cannot adjust the zoom level to fit it ...
Lee H's user avatar
  • 2,687
11 votes
3 answers
1k views

Making an image (ie. image-mode) auto reload changes from disk

I have an image generated by plantuml which I open in an Image mode buffer. I want to use Auto-Revert mode so it auto-refreshes, but it doesn't seem to work on Image mode buffers for some reason. Is ...
Mark's user avatar
  • 1,389