Return-Path: <tiff-admin@remotesensing.org>
Received: from inav012.isp.belgacom.be (inav012.isp.belgacom.be [195.238.3.55])
        by six.skynet.be (8.12.9/8.12.9/Skynet-MAILSTORE-2.14) with ESMTP id i2KGpa2c028928
        for <joris.at.lebbeke@skynet.be>; Sat, 20 Mar 2004 17:51:36 +0100
        (envelope-from <tiff-admin@remotesensing.org>)
Received: from inmx008.isp.belgacom.be (inmx008.isp.belgacom.be [195.238.3.88])
        by inav012.isp.belgacom.be (8.12.9/8.12.9/Skynet-IN-AV-2.02) with ESMTP id i2KGpUpo011505
        for <joris.at.lebbeke@skynet.be>; Sat, 20 Mar 2004 17:51:34 +0100
        (envelope-from <tiff-admin@remotesensing.org>)
Received: from yoda.imagelinks.com ([208.24.120.42])
        by inmx008.isp.belgacom.be (8.12.9/8.12.9/Skynet-IN-2.32) with ESMTP id i2KGpLwV029174
        for <joris.at.lebbeke@skynet.be>; Sat, 20 Mar 2004 17:51:21 +0100
        (envelope-from <tiff-admin@remotesensing.org>)
Received: from yoda.imagelinks.com (localhost.localdomain [127.0.0.1])
	by yoda.imagelinks.com (8.11.6/8.11.2) with ESMTP id i2KGn4l05596;
	Sat, 20 Mar 2004 11:49:04 -0500
Received: from outmx010.isp.belgacom.be (outmx010.isp.belgacom.be [195.238.3.233])
	by yoda.imagelinks.com (8.11.6/8.11.2) with ESMTP id i2KGmhl05578
	for <tiff@remotesensing.org>; Sat, 20 Mar 2004 11:48:43 -0500
Received: from dfgrrxsknr4e (192-11.241.81.adsl.skynet.be [81.241.11.192])
        by outmx010.isp.belgacom.be (8.12.9/8.12.9/Skynet-OUT-2.21) with SMTP id i2KGmaKQ010299
        for <tiff@remotesensing.org>; Sat, 20 Mar 2004 17:48:36 +0100
        (envelope-from <joris.at.lebbeke@skynet.be>)
Message-ID: <002701c40e9b$34d572a0$c00bf151@dfgrrxsknr4e>
From: "Joris" <joris.at.lebbeke@skynet.be>
To: "Tiff mailing list" <tiff@remotesensing.org>
References: <Pine.GSO.4.44.0403200948180.11186-100000@scooby.simplesystems.org>
Subject: Re: [Tiff] txt to tiff
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
X-RAVMilter-Version: 8.4.3(snapshot 20030212) (inav012.isp.belgacom.be)
X-RAVMilter-Version: 8.4.3(snapshot 20030212) (outmx010.isp.belgacom.be)
Sender: tiff-admin@remotesensing.org
Errors-To: tiff-admin@remotesensing.org
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:tiff-request@remotesensing.org?subject=help>
List-Post: <mailto:tiff@remotesensing.org>
List-Subscribe: <http://remotesensing.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=subscribe>
List-Id: TIFF and libtiff discussion <tiff.remotesensing.org>
List-Unsubscribe: <http://remotesensing.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=unsubscribe>
List-Archive: <http://remotesensing.org/pipermail/tiff/>
Date: Sat, 20 Mar 2004 17:48:41 +0100
X-UIDL: 301bd07fc35d8fb2c322a31ab9cdab6d

Bob wrote:
> The user still has the minor challenge of obtaining the two programs
> for his operating systems.  If he is using Linux, then these two
> programs are likely already present.  If he is using Windows, then
> they will need to be downloaded from somewhere, or compiled from
> source code.
>
> If Windows is used, then the command 'gswin32c' should be used rather
> than 'gs'.

I'm not quite satisfied with my previous answer, please allow me to add an
example.

You've probably spent about 5 secs doing the two-lines-solution you posted. I
would have spent about half an hour doing it my way. That's a huge difference.
If I didn't already have my OO encapsulation of the things I use, I would have
even up to several days solving this problem.

The other side of this story is 'what is going on underneath'. You solution
converts txt to postscript, and does a hell of a lot of work rendering
postscript, next. There's more then just 'call overhead' involved, there's
actual loading and initializing of two executables. My solution renders txt
directly, without going through postscript. There's no loading of executables.
Your solution deployed in a commercial distribution, adds two seperate whatevers
(I'm not sure how to call them) to the nightmare. My solution doesn't envolve a
single DLL.

And most importantly: you yourself said 'The user still has the minor
challenge...'. I'm terribly old-fashioned in thinking last thing I want to be is
a user. I remember my love of what goes on underneath too much to give up on it.
I remember the day when discovering 16 unused bytes in total computer memory of
32K was big news, and thus resent the fact that these two user lines make a
detour through postscript, for example, even if you manage to get rid of the
extra file IO involved.

Again: you've spent about 5 sec, I would have taken half an hour. Ironically,
it's the *marketing* department that keeps telling me I'm wrong, and you're
right. And they're probably very right to say so.... Sigh.


Joris Van Damme
info@awaresystems.be
http://www.awaresystems.be
Download your free TIFF tag viewer for windows here:
http://www.awaresystems.be/imaging/tiff/astifftagviewer.html

_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://remotesensing.org/mailman/listinfo/tiff
