Re: Writing of grayscale TGAs

Bob Friesenhahn <[email protected]> Sun, 16 Jan 2005 21:54:37 -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.

I have incorporated your fixes into the 1.2 development sources, as 
well as the sources on the CVS 1.1 branch.  Your changes will be in 
the next development snapshot.  In the process, I made quite a few 
other enhancements.  Please let me know if I broke anything.

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