0 Members and 1 Guest are viewing this topic.
I want to get the dpi of an image with lisp. How can I do?
(mapcar (function (lambda (r) (/ (CVUNIT 1 "INCH" "MM") r))) (reverse (cdr (reverse (cdr (assoc 11 (entget (cdr (assoc 340 (entget (car (entsel "\nSelect image: ")))))) ) ) ) ) ) )
I can see the information of an image in property dialogue when I rigth click the image. So I think there is a way to get the dpi of the image use lisp perhaps.