From owner-freebsd-hackers Sun Apr 14 14:26:17 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA15789 for hackers-outgoing; Sun, 14 Apr 1996 14:26:17 -0700 (PDT) Received: from crh.cl.msu.edu (crh.cl.msu.edu [35.8.1.24]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id OAA15781 for ; Sun, 14 Apr 1996 14:25:49 -0700 (PDT) Received: (from henrich@localhost) by crh.cl.msu.edu (8.6.12/8.6.12) id RAA00879; Sun, 14 Apr 1996 17:25:37 -0400 From: Charles Henrich Message-Id: <199604142125.RAA00879@crh.cl.msu.edu> Subject: Re: XImage to PPM routine? To: erich@lodgenet.com (Eric L. Hernes) Date: Sun, 14 Apr 1996 17:25:37 -0400 (EDT) Cc: freebsd-hackers@freebsd.org In-Reply-To: <199604141546.KAA03096@jake.lodgenet.com> from "Eric L. Hernes" at Apr 14, 96 10:46:19 am X-Mailer: ELM [version 2.4 PL24 ME8a] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Charles Henrich writes: > >Does anyone out there have a generic XImage to PPM (or to anything) routine > >available that works for both 8 and 16 bits resolution? > > doesn't XpmWriteFileFromImage(), from the Xpm library do that? Yes it does, thank you! -Crh Charles Henrich Michigan State University henrich@msu.edu http://pilot.msu.edu/~henrich