Yogesh Kadam scripsit: > Team ImageMagick, > > > > How do we use the Identify command in Imagemagick to find out dpi resolution > for a TIFF File. Identify works for with Width and Height similarly does the > unit type=dpi give me dpi results. > > > > identify -quiet -format "%w,%h" BASELINE_R_600.TIF > %x and %y
Note that it will return it together with units, eg: $ identify -format "%x" something.jpg 72 undefined To get "clean" number use: $ identify -format "%x" something.jpg | cut -d' ' -f1 72 m. _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
