On 7/10/24 6:38 AM, Ulf Zibis via Tiff wrote:
I have some TIFF files with DPI=150 and =200, compressed with FAX G4, format/size DIN A4, which I want to convert to PDF.

With no special options the resulting PDF has only DPI=96 and the picture solution is reduced accordingly, so information is lost.

I'm not able to reproduce this.

How are you determining that the resulting PDF only has 96 dpi?

How are you determining that your original TIFFs are 150 dpi or 200 dpi?

I've constructed a G4 TIFF image with 200x200 dpi:

./tiffinfo a4-200dpi.tif
=== TIFF directory 0 ===
TIFF Directory at offset 0x5ee (1518)
  Subfile Type: (0 = 0x0)
  Image Width: 1653 Image Length: 2339
  Resolution: 200, 200 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: 64
  Planar Configuration: single image plane
  DocumentName: a4-200dpi.tif
  ImageDescription: A4 200x200 dpi

./tiff2pdf -o a4-200dpi.pdf a4-200dpi.tif

pdfimages -list a4-200dpi.pdf

page   num  type   width height color comp bpc  enc interp  object ID x-ppi y-ppi size ratio
--------------------------------------------------------------------------------------------
   1     0 image    1653  2339  gray    1   1  ccitt  no         7 0   200   200 1314B 0.3%


_______________________________________________
Tiff mailing list
Tiff@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/tiff

Reply via email to