Question:
I have two tiff files extracted from a multipage tiff image using Laser Net application. But, all images seem to be writing as multi tiffs even if it's only one image per file. Please check following tiff header from a tiff file. How would I convert these files to "truely" single page using some external DOS command or API?
SubFileType (1 Long): Zero
ImageWidth (1 Short): 2550
ImageLength (1 Short): 3300
BitsPerSample (1 Short): 1
Compression (1 Short): Group 4 Fax (aka CCITT FAX4)
Photometric (1 Short): MinIsWhite
DocumentName (74 ASCII): D:\Lasernet\Output\RDSE_002005_16_24_16_879_S...
StripOffsets (87 Long): 8, 59, 242, 5299, 25124, 45177, 65148,...
Orientation (1 Short): TopLeft
SamplesPerPixel (1 Short): 1
RowsPerStrip (1 Short): 38
StripByteCounts (87 Long): 51, 183, 5057, 19825, 20053, 19971, 21249,...
XResolution (1 Rational): 300
YResolution (1 Rational): 300
PlanarConfig (1 Short): Contig
ResolutionUnit (1 Short): Inch
PageNumber (2 Short): 0, 2
Software (25 ASCII): Neevia PDF/IMG eng. 9.01
DateTime (20 ASCII): 2013:09:27 16:25:09
TIFF Tag: PageNumber:
The page number of the page from which this image was scanned. This field is used to specify page numbers of a multiple page (e.g. facsimile) document. PageNumber[0] is the page number; PageNumber[1] is the total number of pages in the document. If PageNumber[1] is 0, the total number of pages in the document is not available.
Pages need not appear in numerical order. The first page is numbered 0 (zero). We've seen reports of some broken applications reversing the PageNumber[0] and PageNumber[1] values.
http://www.awaresystems.be/imaging/tiff/tifftags/pagenumber.html