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.
167
questions
6
votes
2
answers
2k
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 ...
1
vote
1
answer
1k
views
25.2 - documentation for "experimental cairo drawing"
Can anyone provide some hints on how the "experimental cairo drawing" works in recent GNU Emacs? Specifically, what can I do to test this functionality (as requested in release docs).
[joe@localhost ...
4
votes
1
answer
345
views
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 ...
1
vote
1
answer
317
views
org mode inline image from elisp code block
Below code will draw a tree graph with dot, it works fine but the output graph has been included in "".
#+NAME: nodes
| From | To | Weight |
|------+----+--------|
| A | B | 3 |
| A | C |...
1
vote
2
answers
514
views
wanderlust: size and position of displayed images?
Using wanderlust in emacs-25.1.x, how can I specify the display size and position in the message buffer of attached images that are shown inline?
I want to display smaller versions of the images, and ...
14
votes
3
answers
12k
views
org mode inline image display size
I wish to display org mode inline image (in emacs) with width 400 but actually it always show it as original size.
My steps as below:
Install ImageMagick with below command:
sudo port install ...
1
vote
1
answer
1k
views
Emacs is compiled with imagemagick and has right PATH but still cannot use it
I want to use emacs with imagemagick to enable dynamic resizing of images in org-mode (https://www.reddit.com/r/emacs/comments/44id5o/how_to_install_emacs_with_imagemagick_support/). This used to work ...
2
votes
0
answers
124
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",
/* ...
5
votes
1
answer
126
views
How can I access the :file src header argument inside the src block
I'm wondering how to access the :file header argument passed to a src block, from inside the src block itself?
I'm wondering specifically for python, and in this case ipython with %matplotlib inline ...
5
votes
1
answer
1k
views
org-mode doesn't display image when LaTeX Image Attributes are included
I'm facing this problem that when I include some LaTeX specific attributes for my image, then the image doesn't display inside org-mode (although it is displayed fine in my exported LaTeX PDF).
For ...
2
votes
1
answer
401
views
How to overwrite defconst/defcustom value in init file, tabbar arrow button image for example
I was trying to change defconst value for a tabbar image, the following lines are defined in tabbar.el:
(defconst tabbar-scroll-left-button-enabled-image
'((:type pbm :data "\
P2 13 13 255 255 255 ...
1
vote
1
answer
137
views
Org mode 20161102 Latex export: Images without {center} environment
Present 20161102 org mode now exports images by default wrapped in \begin{center}..\end{center} environments.
This destroys layouts and confuses export scripts made with earlier versions or different ...
3
votes
3
answers
2k
views
Imagemagick not supported in Emacs on windows?
Update: As of early October 2016 emacs for windows does not support ImageMagick versions 7.x or greater as discussed here and here.
Presumably some combination of an earlier version of emacs for ...
0
votes
1
answer
119
views
Image tooltips doesn't work in other buffers
Consider the following content of a file called image-tooltips.el which I source into my .emacs file via load-file. Displaying the image tooltip works if I put a ;\includegraphics{myfile.jpg} into ...
0
votes
1
answer
404
views
Where to download image library for Emacs 64bit Windows version?
I would like to use Emacs 64bit Windows version to view images sometimes, PNG images and JPEG images mostly. The README file says:
Emacs can also support some other image formats with ...
11
votes
3
answers
4k
views
Embed Image as Base64 on HTML export from Orgmode
The goal is to make a self-contained html file when exporting from orgmode so that the images are intrinsic to the file and a single html file will can be distributed (I am trying to do this for a ...
14
votes
2
answers
5k
views
Create image links in org-mode
I want to create clickable image links in org-mode. This would be equivalent to:
<a href="path-to-file">
<img src="path-to-image">
</a>
Currently, I can display inline image ...
1
vote
2
answers
222
views
Image tooltips with pdf
I want the image tooltip code also make work for pdf format, thus I added the pdf keyword to the file extension list of the original code (http://kitchingroup.cheme.cmu.edu/blog/2016/03/21/Displaying-...
2
votes
1
answer
4k
views
display images in emacs w3m in terminal
I would like w3m in emacs (in a terminal) to show me pictures.
Showing pictures in emacs gui works:
Showing pictures in the terminal without emacs works:
But in emacs w3m running in a terminal, no ...
5
votes
0
answers
225
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 ...
19
votes
2
answers
13k
views
Downscaling inline images in org-mode
I used to be able to scale down an inline image in org-mode with
#+attr_html: :width 650 px
[[file:~/org/def/202a3-9.jpeg]]
But now it doesn't work anymore, presumably because of an update to 8.3.5. ...
4
votes
3
answers
1k
views
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 ...
1
vote
2
answers
2k
views
How do I view an image in a new buffer in emacs?
I have the path to a pdf file or a png file (whichever is easiest to show, but bonus points for showing both).
How do I show the image in a new buffer? (It makes no sense to show it inline since it ...
1
vote
1
answer
494
views
How to extract an image from an email in Gnus?
A friend sent me an email with a JPEG photo in the middle of the text. The picture is so big, most of it is outside the screen and I want to view it with an outside image viewer and not in Gnus. How ...
2
votes
1
answer
2k
views
Adding links to locally stored images with a description to an org file
I am trying to insert images into an org-file using absolute paths (which include spaces) and a description, and then export them to PDF via LaTeX.
I am entering the link using C-c C-l, which should ...
2
votes
0
answers
34
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, ...
15
votes
2
answers
3k
views
Default Inline Image Background in Org Mode
When an image has a transparent background, Emacs of course respects that.
Unfortunately, this can lead to issues with display:
Is there a way to display a specific color (e.g. white) behind the ...
1
vote
0
answers
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
1
answer
2k
views
Starting animation in Gif
I have a variable that holds a GIF image
my-image's value is
(image :type gif :data "GIF89a+
[...]
I add it to a buffer and it is being displayed
(insert-image my-image)
But the animation is not ...
13
votes
2
answers
929
views
Can I use an image in my modeline lighter?
My modeline is cluttered. Can I make it display pictures instead of mode names?
I could use unicode Emoji (such as 🐍 for Python or 🐓 for Coq), but some machines on which I use my Emacs config do ...
4
votes
2
answers
2k
views
drawing graph with math formula in org-mode
My goal is to:
Generate graph (with math symbols / equations) from org-mode source block.
Display result inside buffer
My best attempt was to use dot and graphviz:
But I'm unable to add math ...
0
votes
1
answer
58
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 ...
22
votes
1
answer
5k
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....
0
votes
1
answer
91
views
How skip gif-images, when going to the next file?
I use the package image-mode to view images in a directory. When go to the next image in the same directory, I use a function to go the next image in image-mode.
(defun find-next-image (&optional ...
8
votes
1
answer
1k
views
org-preview-latex-fragment in higher resolution
On a high res display, these latex fragments created by C-c C-x C-l are noticeably blurry compared to the text. I gather that they are processed with imagemagick--how can I tweak it to output higher ...
8
votes
1
answer
2k
views
How to save images from buffer?
I use eww to open an image from wikipedia:
https://upload.wikimedia.org/wikipedia/commons/6/6a/The_Burning_of_the_Houses_of_Parliament.jpg
Now, I wanted to save it to my computer.
How can I do that?...
0
votes
1
answer
85
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 ...
4
votes
1
answer
829
views
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 ...
13
votes
1
answer
6k
views
In org-mode, how to always display inline images at Emac's startup?
On Emacs (Mac) I have saved a desktop which opens two .org files (one of this has an image - jpg) and whenever I open up Emacs, I have to always type y to:
display /route/to/image/Logo.jpg? (y or n)
...
1
vote
0
answers
259
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
1
answer
2k
views
Resolving keybinding conflicts with Evil-mode: Troubleshooting Image-Dired bindings
I am trying to move/rename 100+ images inside of a directory, so I am using Image-Dired to view the images as thumbnails and as I move/rename them.
I want to move multiple images at a time, so I am "...
7
votes
2
answers
3k
views
Replace PlantUML source with generated image in org-mode
I write UML diagrams in org-mode with PlantUML and usually "compile" it to HTML to view the result. Is there a way to have the image show up in my buffer?
I try to enable iimage-mode but it doesn't ...
1
vote
0
answers
269
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-...
9
votes
1
answer
2k
views
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/...
7
votes
1
answer
237
views
Inline images appear shifted down relative to text
To speed up visually scanning my org file I would like to add icons to my headings. I am using 16x16 images which seem to fit well with the size of the font, but the images always appear slightly ...
31
votes
4
answers
3k
views
Smooth (mouse) scroll for inline images?
I display images in-line with begin_src & result blocks.
However, for large-images, when I scroll past the bottom of the image, I get a 'jerk' and the whole image is scrolled away. Similarly if I ...
3
votes
0
answers
144
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 ...
10
votes
4
answers
9k
views
Org-mode: No images to display inline
I am trying to display images in org files. I have used links such as
[[file:~/path/to/image.png]]
When I click on the link, it gives me another buffer in which there are only symbols. When I put the ...
7
votes
1
answer
4k
views
Hide inline images and show links in org-mode
On using an image link as,
[[./hello.png]]
in org-mode, emacs doesn't toggle the inline image display. org-toggle-inline-images works well on start-up. I run a presentation using M-x epresent-run ...
3
votes
1
answer
627
views
Place images in page center in epresent-mode
I am using the display inline images code from this org-display-inline-images link.`
But when i run epresent-run to present it, the images are placed in top left corner. How can i place them in the ...