Can `image-size' function be implemented for Emacs without the image support? The code should check if image-size is bounded, otherwise it should use "magick" tool to implement it. The help message of image-size function in other system with the image support looks like the following:
image-size is a primitive-function in ‘C source code’.
(image-size SPEC &optional PIXELS FRAME)
Return the size of image SPEC as pair (WIDTH . HEIGHT).
PIXELS non-nil means return the size in pixels, otherwise return the
size in canonical character units.
FRAME is the frame on which the image will be displayed. FRAME nil
or omitted means use the selected frame.
Calling this function will result in the image being stored in the
image cache. If this is not desirable, call ‘image-flush’ after
calling this function.
Probably introduced at or before Emacs version 21.1.
[back]
Can `image-size' function be implemented for Emacs without the image support? The code should check if image-size is bounded, otherwise it should use "magick" tool to implement it. The help message of image-size function in other system with the image support looks like the following: