Resize TIFF images to certain size in MB and DPI

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
d3x
Posts: 1
Joined: 2014-09-05T00:23:56-07:00
Authentication code: 6789

Resize TIFF images to certain size in MB and DPI

Post by d3x »

Hi,

I have a question regarding changing the size of a TIFF image.
I want to be able to change the size of a 60mb TIFF image to at least 12mb.
But at the same time I want the DPI to be even 100.

So for example:

I have a 60mb TIF file, when resized it's 12,4mb and the DPI is 700.
I have a 47mb TIF file, when resized it's 12,7mb and the DPI is 800.
I have a 58mb TIF file, when resized it's 12,3mb and the DPI is 3500.

The mb is always at least 12mb and the DPI is always 100,200,300,400,500 etc.
The important part is the DPI, if the image is 12mb exactly or 12,35 doesn't matter.

Is there a command for this?
Can someone point me in the right way? :D
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Resize TIFF images to certain size in MB and DPI

Post by snibgo »

DPI, dots per inch, has no impact on the filesize. Set it to anything you like.
snibgo's IM pages: im.snibgo.com
Post Reply