Change the resolution of tiff files
Posted: 2012-01-05T10:13:52-07:00
tiffinfo gives me the following output. I want to change the
Resolution from 299,300 pixels/inch to 400,400 pixels/inch (notice
that I want Image Width and Length remain the same, so -resample
option is not what I want). Does anybody show me how to do so with
convert? Thanks!
xxx.tiff:
TIFF Directory at offset 0x198ac (104620)
Image Width: 2392 Image Length: 3257
Resolution: 299, 300 pixels/inch
Bits/Sample: 1
Compression Scheme: LZW
Photometric Interpretation: min-is-black
FillOrder: msb-to-lsb
Orientation: row 0 top, col 0 lhs
Samples/Pixel: 1
Rows/Strip: 27
Planar Configuration: single image plane
Page Number: 0-1
DocumentName: xxx.tiff
Resolution from 299,300 pixels/inch to 400,400 pixels/inch (notice
that I want Image Width and Length remain the same, so -resample
option is not what I want). Does anybody show me how to do so with
convert? Thanks!
xxx.tiff:
TIFF Directory at offset 0x198ac (104620)
Image Width: 2392 Image Length: 3257
Resolution: 299, 300 pixels/inch
Bits/Sample: 1
Compression Scheme: LZW
Photometric Interpretation: min-is-black
FillOrder: msb-to-lsb
Orientation: row 0 top, col 0 lhs
Samples/Pixel: 1
Rows/Strip: 27
Planar Configuration: single image plane
Page Number: 0-1
DocumentName: xxx.tiff