in reply to Hard Times With ImageMagick
This should work:
$image_file->Set(density=>'72x72');
However, if you are looking at the JPEG file with another program (such as Photoshop) then it is important to know that Photoshop stores density (and other attributes) in an application-specific profile and ignores the standard density setting in the JPEG file header if the
profile exists.
Hope this helps