luis on wrote...
| 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.
|
Note however that Photoshop does not use the normal resolution info. It
looks it up from its own metadata additions :-(
Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]>
-----------------------------------------------------------------------------
This was a fatal mistake for the Kzinti, ... the reason humanity had
decided to study war no more, was that humans were so very, very good
at it! -- "Man-Kzin Wars IV" -- Larry Niven
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users