可能重复: 使用PHP GD/Imagick获取/设置DPI?
有没有办法用PHP检查照片dpi.我有300 dpi和72 dpi的照片.但想要一种自动计算dpi的方法.
php resolution dpi
dpi ×1
php ×1
resolution ×1