"Dermot Paikkos" on wrote...
| Hi
|
| Version: ImageMagick 6.2.4 08/22/05 Q8
|
| I have been looking at using the density switch to change the
| resolution attribute for some files.
|
| >From what i've read it should be possible to change the stated
| resolution of a jpeg (say from 300x300 to 72x72) without re-sampling
| the image but I can not get the resolution to change using the Win32
| version I have.
|
| I tried:
|
| `mogrify -density 72x72 myfile.jpg` and then to view the image info
| `identify -verbose myfile.jpg`.
|
First -density is ONLY realy important for 'vector graphic formats'
such as postscript, PDF, and drawing fonts.
If their is a resolution involved with JPG images (a raster format)
this it is just a attribute (value) that is saved with the image.
Density will not affect them, period, as they are all ready in a pixel
(raster) format.
If you want to display the image at the same real-world size on a 72x72
resolution device (a monitor), then the image needs to be resized
or better still -resample so that the attribute is also fixed.
For details see..
Resolution...
http://www.cit.gu.edu.au/~anthony/graphics/imagick6/text/#pointsize
and Raster vs Vector Formats...
http://www.cit.gu.edu.au/~anthony/graphics/imagick6/formats/#vector
It isn't exactly appropriate but it is what I have.
Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]>
-----------------------------------------------------------------------------
"A man without an address is a vagabond" -- George Bernard Shaw
-----------------------------------------------------------------------------
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