[magick-users] jpg to eps keeping all pixels
Anthony Thyssen
anthony at griffith.edu.au
Tue Jan 2 19:35:41 CST 2007
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 ) <A.Thyssen at griffith.edu.au>
-----------------------------------------------------------------------------
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/
More information about the Magick-users
mailing list