nanogui@linuxhacker.org

nanogui@linuxhacker.org


Subject: Re: GdJPEG for PF_TRUECOLOR patch
From: Martin Jolicoeur
Date: Mon, 28 Feb 2000 14:35:15 -0500

>
>
> I've attached what I think is a patch to your patch, and have
> entered it into the tree. ;-)
>
> Regards,
>
> Greg

Greg,

Fast_grayscale mode doesn't work anymore with your latest devimage.c. A
little mistake in the process ... Here is the patch :

Regards,

Martin Jolicoeur
GVT PRoject
martinj@visuaide.com


--- devimage.c	Mon Feb 28 14:30:17 2000
+++ devimage_patch.c	Mon Feb 28 14:31:33 2000
@@ -165,6 +165,7 @@
 	else 
 	{
 		/* Grayscale output asked */
+		cinfo.quantize_colors = TRUE;
 		cinfo.out_color_space = JCS_GRAYSCALE;
 		cinfo.desired_number_of_colors = psd->ncolors;
 	}


nanogui@linuxhacker.org