all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* create-image does not scale image
       [not found] <1910976649.2362780.1612681378817.ref@mail.yahoo.com>
@ 2021-02-07  7:02 ` S Boucher via Users list for the GNU Emacs text editor
  0 siblings, 0 replies; only message in thread
From: S Boucher via Users list for the GNU Emacs text editor @ 2021-02-07  7:02 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

Is the code wrong?  Or is there a bug or a configuration problem?
Help appreciated.
When I execute this in *scratch*:
(insert-image (create-image "/home/stb/.emacs.d/elpa/lsp-ui-20210202.551/resources/lightbulb.png" nil nil :scale 0.2))
The image displayed in original size
If I find-file lightbulb.png, I can scale up or down with + or -.
I'm running:
"GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.14)
 of 2020-03-26, modified by Debian"

On Ubuntu 20.04



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-07  7:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1910976649.2362780.1612681378817.ref@mail.yahoo.com>
2021-02-07  7:02 ` create-image does not scale image S Boucher via Users list for the GNU Emacs text editor

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.