emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scale transformation of images


From: Eli Zaretskii
Subject: Scale transformation of images
Date: Sun, 16 Jun 2019 09:16:36 +0300
User-agent: K-9 Mail for Android

If I insert an image into a buffer with insert-image, and then position point 
on the image and press '-' to make it smaller, the scale factors I see in the 
transform matrix are greater than 1.  This is because image_set_size does this:

   double xscale = img->width / (double) width;

and similarly for yscale.  Shouldn't we divide width by img->width instead?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]