TIFF and LibTiff Mail List Archive

1997.01.10 21:39 "TIFFOpen for appending", by Chuck Packard


I am trying to put a TIFF into an existing EPS file to act as a preview. I read the man page for TIFFOpen and it says you can pass it a mode of "a" so that it appends:

     When a file is opened for appending, existing data
     will not be touched; instead new data will be written as
     additional subfiles

But I am getting the error '%s: Cannot open'; I have verified that I can call fopen and append to the file myself in place of the call to TIFFOpen. Is TIFFOpen expecting the file it is appending to to be another TIFF file? What is the 'subfile' it is talking about?


Chuck Packard                             Tel: 508.647.7311
The MathWorks, Inc.                       Fax: 508.647.7002                    WWW:

Id happens!