Why can't I change dpi on my jpg picture?
Posted: 2009-06-08T23:11:54-07:00
This is my code:
The source file is a 10 mb tif file that I'm converting to a jpg. The dpi on the tif file is 900, the dpi on the jpg is still 900. Why does my code not change the dpi on my jpg to 72?
Code: Select all
$exec = "convert '$input' -resize 535x535 -units PixelsPerInch -density 72 -quality 60 '$output'";