@ -17,7 +17,7 @@
(defun get-dimensions (image)
"Return the dimensions of IMAGE as cons `(x . y)'."
(--> image
(shell-command-to-string (format "file %s" it))
(split-string it "," nil " ")
(--filter (string-match-p (rx (+ num) (? " ") "x" (? " ") (+ num)) it) it)
The note is not visible to the blocked user.