Re: Writing of grayscale TGAs

Bob Friesenhahn <[email protected]> Thu, 13 Jan 2005 09:29:08 -0600 (CST)
Newsgroups gmane.comp.video.graphicsmagick.core
Message-ID <[email protected]>
On Thu, 13 Jan 2005, Stefan v. Wachter wrote:

> Hello,
> I have changed the tga coder (see attachment tga.c) for writing of grayscale 
> tga files (if the is_grayscale flag in image is 1). For people working with 
> grayscale images it is an enormous overhead to deal with RGB images instead 
> of grayscale images.

Thanks for your contribution.  I will study it and integrate your 
changes.

How much speed-up are you seeing due to these improvements?

Bob
======================================
Bob Friesenhahn
[email protected]
http://www.simplesystems.org/users/bfriesen


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt