Commits

Andrzej Skiba committed f996abb

Show image dimensions from dired buffer.

  • Participants
  • Parent commits a98f629

Comments (0)

Files changed (2)

 .org-id-locations
 .smex-items
 places
+image-dired/.*
             str))))
   (browse-url (format "http://search.oracle.com/search/search?q=%s&group=MySQL"
                       str)))
+
+(defun as/image-size ()
+  (interactive)
+  (let ((dim (image-size (create-image (first (dired-get-marked-files))) t)))
+    (message "Width: %d, Height: %d" (car dim) (cdr dim))))