Hugemann a écrit :
How can I pre-calculate the "-density 72" and "density 28.34"
with the data I get from identify ?

AFAIK, identify cannot perform this task. I also tried "jhead.exe" which seems to work nicely with IM, but it also gives no information on the xyresolution.

With the help of Scott Spearman I found this

$ identify -verbose *.jpg | grep -E '^Ima|Geo|Res|Uni'
Image: bugzilla_add_patch.jpg
  Geometry: 800x600
  Units: PixelsPerCentimeter
Image: bugzilla_choose_product.jpg
  Geometry: 800x600
  Units: PixelsPerCentimeter
Image: bugzilla_enter_bug.jpg
  Geometry: 809x588
  Resolution: 95x96
  Units: PixelsPerInch
Image: bugzilla.jpg
  Geometry: 800x600
  Units: PixelsPerCentimeter

As you can see sometimes (bugzilla_enter_bug.jpg) jpeg file have the
"Resolution" info.

Luis

--
Luis Belmar-Letelier
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to