Page 2 of 2

Re: "error reading the file <>" - Can't save or export

Posted: Mon Dec 15, 2014 8:23 pm
by cday
No problem saving your TIFF as a PDF:

Set this setting [Thanks XnTriq :wink:]: Tools > Options...
Ignore_read_errors.png
Open the TIFF file using File > Open...

Save the opened file using File > Save as... with Save as type set to PDF and Options set as follows:
File_ Save as..._Options.png
You could actually use any of the available compression options but 'Fax' produces the smallest file size for black and white images and is lossless, unlike JPG.

Result:
Fax 12-12-2014 12;26;45.pdf
(21.54 KiB) Downloaded 31 times
Voilà! :D

Re: "error reading the file <>" - Can't save or export

Posted: Mon Dec 15, 2014 11:45 pm
by XnTriq
Thanks for the screenshots, cday 8)
rbergmandc1 wrote:What could be my problem as to why I can't save from a TIFF to a PDF ?
AsTiffTagViewer doesn't report any problems, …
AsTiffTagViewer wrote:

Code: Select all

SubFileType (1 Long): Page
ImageWidth (1 Short): 1728
ImageLength (1 Short): 2192
BitsPerSample (1 Short): 1
Compression (1 Short): Group 3 Fax (aka CCITT FAX3)
Photometric (1 Short): MinIsWhite
FillOrder (1 Short): Lsb2Msb
StripOffsets (1 Long): 234
Orientation (1 Short): TopLeft
SamplesPerPixel (1 Short): 1
RowsPerStrip (1 Short): 2192
StripByteCounts (1 Long): 67132
XResolution (1 Rational): 200
YResolution (1 Rational): 200
Group3Options (1 Long): 0
ResolutionUnit (1 Short): Inch
PageNumber (1 Long): 0
… but tiffinfo (part of TIFF Tools)…
tiffinfo wrote:

Code: Select all

TIFFReadDirectory: Warning, X:\Fax 12-12-2014 12;26;45.tif: wrong data type 4 for "PageNumber"; tag ignored.
TIFF Directory at offset 0x8 (8)
  Subfile Type: multi-page document (2 = 0x2)
  Image Width: 1728 Image Length: 2192
  Resolution: 200, 200 pixels/inch
  Bits/Sample: 1
  Compression Scheme: CCITT Group 3
  Photometric Interpretation: min-is-white
  FillOrder: lsb-to-msb
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 1
  Rows/Strip: 2192
  Planar Configuration: single image plane
  Group 3 Options: (0 = 0x0)
Fax3Decode1D: Warning, X:\Fax 12-12-2014 12;26;45.tif: Premature EOL at line 2188 of strip 0 (got 0, expected 1728).
… and ThumbsPlus…
ThumbsPlus wrote:

Code: Select all

wrong data type 4 for "PageNumber"; tag ignored
[1 TIFF image(s) in file]

TIFF Directory at offset 0x8
  Subfile Type: multi-page document (2 = 0x2)
  Image Width: 1728 Image Length: 2192
  Resolution: 200, 200 pixels/inch
  Bits/Sample: 1
  Compression Scheme: CCITT Group 3
  Photometric Interpretation: min-is-white
  FillOrder: lsb-to-msb
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 1
  Rows/Strip: 2192
  Planar Configuration: single image plane
  Group 3 Options: (0 = 0x0)
  1 Strips:
      0: [     234,    67132]
… agree that Fax 12-12-2014 12;26;45.tif is malformed.