Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Sep 2000 18:44:35 +0900 (KST)
From:      Park JongHwan <jhp@cocoja.holywar.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/21021: graphics/quickpics bogus colorspace error on grayscale image
Message-ID:  <200009040944.SAA55864@cocoja.holywar.net>

next in thread | raw e-mail | index | archive | help

>Number:         21021
>Category:       ports
>Synopsis:       graphics/quickpics bogus colorspace error on grayscale image
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 04 02:50:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Park JongHwan
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
>Environment:

>Description:

handle color space properly 

>How-To-Repeat:

try build thumbnails on grayscale image

>Fix:

--- image.c.orig	Mon Sep  4 18:02:47 2000
+++ image.c	Mon Sep  4 18:03:15 2000
@@ -205,7 +205,7 @@
 	cinfo.image_width = output_width;
 	cinfo.image_height = output_height;
 	cinfo.input_components = out_color_components;
-	cinfo.in_color_space = JCS_RGB;
+	cinfo.in_color_space = dinfo.out_color_space;
 
 	/* compression parameters */
 	jpeg_set_defaults(&cinfo);


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009040944.SAA55864>