From owner-freebsd-questions@FreeBSD.ORG Sun Jul 13 11:34:29 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3400737B401 for ; Sun, 13 Jul 2003 11:34:29 -0700 (PDT) Received: from mta7.pltn13.pbi.net (mta7.pltn13.pbi.net [64.164.98.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1AAB43F75 for ; Sun, 13 Jul 2003 11:34:28 -0700 (PDT) (envelope-from mbsd@pacbell.net) Received: from atlas (adsl-64-166-23-114.dsl.snfc21.pacbell.net [64.166.23.114]) by mta7.pltn13.pbi.net (8.12.9/8.12.3) with ESMTP id h6DIYSFv022294; Sun, 13 Jul 2003 11:34:28 -0700 (PDT) Date: Sun, 13 Jul 2003 11:34:27 -0700 (PDT) From: =?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?= X-X-Sender: mikko@atlas.home To: Sheetal_Rastogi@NAI.com In-Reply-To: Message-ID: <20030713111704.O32110@atlas.home> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: questions@freebsd.org Subject: Re: Hi FreeBSD forum's Champs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jul 2003 18:34:29 -0000 On Sun, 13 Jul 2003 Sheetal_Rastogi@NAI.com wrote: > Hi Forum > > I had a task to capture Windows dump (screen shot) in different formats. > > xwd -window > image.xwd > > I also want to convert this default format (xwd) to X window bitmap, X > window Pixmap. > > Any suggestion / utility to achieve this If you install the "netpbm" package or port, you can do things like xwdtopnm image.xwd | ppmtoxpm > image.xpm and xwdtopnm image.xwd | ppmtopgm | pgmtopbm | pbmtoxbm > image.xbm There are lots of other possibilities as well; browse through /usr/ports/graphics or and you'll see... $.02, /Mikko