300 dpi TIF-> 72 dpi JPG in one line (Windows)
Posted: 2011-07-27T15:28:27-07:00
Hi,
I'm trying to convert a 300 dpi TIF file to a 72 dpi JPG (on Windows).
If I do I get the TIF file with the same pixel dimensions but at 72 dpi (almost what I need). If I do
I get the JPG file with the same pixel dimensions but at 300 dpi
What is the command to do both, so that I get a JPG with the same pixel dimensions as the input file and 72 dpi resolution? Seems like it should be so simple but I'm struggling.
If I use resample I get an image still at 300 dpi but with smaller dimensions instead of an image with the same dimensions but different dpi. If I take the 72 dpi TIF and convert out.tif out.jpg afterwards it goes back to 300 dpi.
Thanks
I'm trying to convert a 300 dpi TIF file to a 72 dpi JPG (on Windows).
If I do
Code: Select all
convert in.tif -density 72x72 out.tif
Code: Select all
convert in.tif -density 72x72 out.jpg
What is the command to do both, so that I get a JPG with the same pixel dimensions as the input file and 72 dpi resolution? Seems like it should be so simple but I'm struggling.
If I use resample I get an image still at 300 dpi but with smaller dimensions instead of an image with the same dimensions but different dpi. If I take the 72 dpi TIF and convert out.tif out.jpg afterwards it goes back to 300 dpi.
Thanks