From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] colormap From: okamoto@granite.cias.osakafu-u.ac.jp MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-jyadiuxlyofvjnjqryehwyuicy" Message-Id: <20010301081558.4883C199EA@mail.cse.psu.edu> Date: Thu, 1 Mar 2001 17:15:21 +0900 Topicbox-Message-UUID: 6afe3be8-eac9-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-jyadiuxlyofvjnjqryehwyuicy Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit We have been expanding this experiment, and found that we are following previous rob's post on cmap2rgb() etc. Ok!, I got the problem right, I think. The general solution, however, may not be so easy... Then, we'll try to solve the problem under some local assumptions. Kenji --upas-jyadiuxlyofvjnjqryehwyuicy Content-Type: message/rfc822 Content-Disposition: inline Received: from granite.cias.osakafu-u.ac.jp ([192.168.1.3]) by granite.cias.osakafu-u.ac.jp; Thu Mar 1 10:39:30 JST 2001 Received: from elmo.cias.osakafu-u.ac.jp (elmo.cias.osakafu-u.ac.jp [157.16.103.2]) by granite.cias.osakafu-u.ac.jp (8.9.3/8.9.3) with ESMTP id KAA14014; Thu, 1 Mar 2001 10:54:42 +0900 Received: from mail.cse.psu.edu (postfix@psuvax1.cse.psu.edu [130.203.4.6]) by elmo.cias.osakafu-u.ac.jp (8.9.3/3.7W-01020211) with ESMTP id KAA20219; Thu, 1 Mar 2001 10:54:23 +0900 (JST) Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.20.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 2A60419A00; Wed, 28 Feb 2001 20:54:07 -0500 (EST) Received: from granite.cias.osakafu-u.ac.jp (granite.cias.osakafu-u.ac.jp [157.16.91.52]) by mail.cse.psu.edu (CSE Mail Server) with SMTP id 2588B199EF for <9fans@cse.psu.edu>; Wed, 28 Feb 2001 20:53:23 -0500 (EST) To: 9fans@cse.psu.edu Subject: Re: [9fans] colormap From: okamoto@granite.cias.osakafu-u.ac.jp MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20010301015323.2588B199EF@mail.cse.psu.edu> Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Thu, 1 Mar 2001 10:52:49 0900 We have many 8bit depth greyscaled images, and want to display them on 8bit and truecolor (>=16bit) display. We made a Plan 9 pic formatted file, begin with m8, and k8 :-). The latter works fine on a truecolor display, but only 16 grey shades on 8bit display(pseudocolor). This doen't change when we changed the colormap to say /lib/cmap/c7291.56. The former (m8), instead, works fine on the 8bit dosplay with colormap of that c7291.56, but shows colors ^_^ on a true color display. Where we should check? Kenji --upas-jyadiuxlyofvjnjqryehwyuicy--