Hi FreeBSD forum's Champs

Mikko Työläjärvi mbsd at pacbell.net
Sun Jul 13 11:34:29 PDT 2003


On Sun, 13 Jul 2003 Sheetal_Rastogi at 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 <http://www.freebsd.org/ports/graphics> and
you'll see...

  $.02,
  /Mikko


More information about the freebsd-questions mailing list