emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Kitchin <jkitchin@andrew.cmu.edu>
To: nishan.singh.mann@gmail.com, org-mode-email <Emacs-orgmode@gnu.org>
Subject: Re: Adjust scaling of images on hidpi screens when using org-display-inline-images
Date: Fri, 30 Nov 2018 15:46:38 -0500	[thread overview]
Message-ID: <CAJ51ETqC_UyuQvCvD2ZXc4887mb0mNZ6R2J3kr5KYfR+5zsTvw@mail.gmail.com> (raw)
In-Reply-To: <87zhtqpaqz.fsf@nicolasgoaziou.fr>

[-- Attachment #1: Type: text/plain, Size: 1589 bytes --]

I am not familiar with that variable.

This variable has some influence on the appearance of images:
org-image-actual-width. Note it needs imagemagick support which is tricky
on windows sometimes.

org-image-actual-width is a variable defined in `org.el'.
Its value is nil

Original value was t


Documentation:
Should we use the actual width of images when inlining them?

When set to t, always use the image width.

When set to a number, use imagemagick (when available) to set
the image's width to this value.

When set to a number in a list, try to get the width from any
#+ATTR.* keyword if it matches a width specification like

  #+ATTR_HTML: :width 300px

and fall back on that number if none is found.

When set to nil, try to get the width from an #+ATTR.* keyword
and fall back on the original width if none is found.

This requires Emacs >= 24.1, build with imagemagick support.


John

-----------------------------------
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu



On Fri, Nov 30, 2018 at 3:33 PM Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:

> Hello,
>
> Nishan Singh Mann <nishan.singh.mann@gmail.com> writes:
>
> > Hello everybody, the images displayed when using
> org-display-inline-images
> > are not scaled properly on a hidpi screen (its too small). I'm attaching
> > the screenshots which show the problem. How do I resolve this?
>
> Perhaps by setting `image-scaling-factor'.
>
> Regards,
>
> --
> Nicolas Goaziou
>
>

[-- Attachment #2: Type: text/html, Size: 2621 bytes --]

      reply	other threads:[~2018-11-30 20:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-30  2:16 Adjust scaling of images on hidpi screens when using org-display-inline-images Nishan Singh Mann
2018-11-30 20:32 ` Nicolas Goaziou
2018-11-30 20:46   ` John Kitchin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJ51ETqC_UyuQvCvD2ZXc4887mb0mNZ6R2J3kr5KYfR+5zsTvw@mail.gmail.com \
    --to=jkitchin@andrew.cmu.edu \
    --cc=Emacs-orgmode@gnu.org \
    --cc=nishan.singh.mann@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).