Properties of the tiff file: ImageWidth (1 Short): 2066 ImageLength (1 Short): 2922 Compression (1 Short): Group 4 Fax (aka CCITT FAX4) Photometric (1 Short): MinIsWhite StripOffsets (95 Long): 924, 1124, 3206, 3830, 4029, 4267, 6117,... SamplesPerPixel (1 Short): 1 RowsPerStrip (1 Short): 31 StripByteCounts (95 Long): 200, 2082, 624, 199, 238, 1850, 2009, 2000,... XResolution (1 Rational): 1 YResolution (1 Rational): 1 ResolutionUnit (1 Short): None
-----Mensagem original----- De: José Rodolfo Carrijo de Freitas [mailto:[email protected]] Enviada em: terça-feira, 10 de agosto de 2010 17:49 Para: [email protected] Assunto: PDCcitt I have a tiff file which I cannot insert it in a pdf through the PDCcitt class. It gives me this exception: if (dataoffset == 0) { throw new IOException("First image in tiff is not a single tile/strip"); } I do not known really well about the tif specification, however, I could open the same file on tiff viewers or on another graphical programs. I am generating this tiff, so it may be a problem on this process. I am writing you because it could help me knowing what I need to do on the generate process to pass this verification.
