Status: Read
Received: from [207.113.13.68] by phillip.cerious.com (NTMail 3.03.0017/7.aaxh) with ESMTP id pcrews for <pcrews@cerious.com>; Tue, 4 May 1999 08:48:47 -0400
Received: from localhost (bin@localhost)
	by gate7.olympiakos.com (8.8.7/8.8.7) with SMTP id IAA26092;
	Tue, 4 May 1999 08:33:18 -0400
Received: by gate7.olympiakos.com (bulk_mailer v1.9); Tue, 4 May 1999 08:29:59 -0400
Received: (from majordom@localhost)
	by gate7.olympiakos.com (8.8.7/8.8.7) id IAA26065
	for tiff-outgoing; Tue, 4 May 1999 08:29:58 -0400
X-Authentication-Warning: gate7.olympiakos.com: majordom set sender to owner-tiff@olympiakos.com using -f
Received: from mail.geoware.de (root@mail.geoware.de [193.141.0.157])
	by gate7.olympiakos.com (8.8.7/8.8.7) with ESMTP id IAA26062
	for <tiff@olympiakos.com>; Tue, 4 May 1999 08:29:52 -0400
Received: from wenninger.de (p-zitzelsperger.wenninger.de [192.168.1.138])
	by mail.geoware.de (8.8.8/8.8.8) with ESMTP id OAA19328
	for <tiff@olympiakos.com>; Tue, 4 May 1999 14:29:55 +0200
Message-ID: <372EF727.5D5D83E9@wenninger.de>
Date: Tue, 04 May 1999 14:33:27 +0100
From: Peter Zitzelsperger <zitzelsp@mail.geoware.de>
X-Mailer: Mozilla 4.05 [en] (WinNT; I)
MIME-Version: 1.0
To: "'tiff@olympiakos.com'" <tiff@olympiakos.com>
Subject: cannot write tiff files ?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-tiff@olympiakos.com

Hello you there!

I joined this discussion group some days ago, and yet I have a question
on vreating TIFF files with the ifl library. I'm working with windows nt
and ifl version 1.3.1. Reading TIF files works just great, but the
following code results in an error, that says "Failed to set field in
file header":

 m_ifl_file = iflFile::create( t_name, NULL, &ifl_fconfig, NULL,
&ifl_status );
 if( ifl_status!= iflOKAY || m_ifl_file==0 )
 {
  w_char  t_msg[1024];
  fprintf( stdout, "Error creating file %s\n", (const w_char *) t_name
);
  iflStatusToString( ifl_status, t_msg, 1025 );
  fprintf( stdout, "Reason: %s\n", t_msg );
  return( W_FALSE );
 }

So, what field could one set in the ifl_fconfig, which is not set yet ?
(btw: ifl_fconfig  is of Type iflFileConfig).
Funny enough, the upper code works, if the second parameter is set that
way:

 m_ifl_file = iflFile::create( t_name, __another tiff_file__ , NULL,
NULL, &ifl_status );

But this is not, what I want. Any suggestions ? Thanx a lot in
advance...


Peter.



