Hi Matthew,

> Your "-resize 300%" is making the resulting image 3x the size.  Remove that 
> and you'll have the appropriate image.

Now, the width and length become the same between the tiff files
generated by convert and Acrobat. But why there is a 100 times
difference in terms of file size. And how to set the unit of
resolution to be DPI in the tiff file generated by convert?

~/Downloads$ convert -monochrome -density 300x300
number_of_sites_nofilter.pdf  number_of_sites_nofilter.tiff
~/Downloads$ tiffinfo  number_of_sites_nofilter.tiff
TIFF Directory at offset 0x86d74 (552308)
  Image Width: 2100 Image Length: 2100
  Resolution: 300, 300 (unitless)
  Bits/Sample: 1
  Compression Scheme: None
  Photometric Interpretation: min-is-black
  FillOrder: msb-to-lsb
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 1
  Rows/Strip: 31
  Planar Configuration: single image plane
  Page Number: 0-1
  DocumentName: number_of_sites_nofilter.tiff
~/Downloads$ tiffinfo  number_of_sites_nofilter1.tiff
TIFF Directory at offset 0x1280 (4736)
  Image Width: 2100 Image Length: 2100
  Resolution: 300, 300 pixels/inch
  Bits/Sample: 1
  Compression Scheme: CCITT Group 4
  Photometric Interpretation: min-is-white
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 1
  Rows/Strip: 31
  Planar Configuration: single image plane
~/Downloads$ ll -goh  number_of_sites_nofilter*.tiff
-rw-r--r-- 1 5.4K 2011-11-21 12:03:01 number_of_sites_nofilter1.tiff
-rw-r--r-- 1 541K 2011-11-21 16:31:38 number_of_sites_nofilter.tiff



Regards,
Peng

_______________________________________________
Magick-users mailing list
Magick-users@imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to