Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-09-2007, 05:11 AM   #1
LQ Newbie
Registered: Jan 2007
Posts: 2

Rep: Reputation: 0
Need to use X commands (xwd, xwud etc.) to get my Xgraphics window to print/save

Hi everyone, I'm a Linux novice and this is my first Q!
I'm doing a simple C exercise and have inserted commands into my program that give me out a nice bit map image of an interpolating function.
I now need to dump/undump (???) this file so I can print and save it.
Any ideas?
Thanks a lot!
Old 01-09-2007, 11:41 AM   #2
Registered: Dec 2004
Distribution: gentoo
Posts: 190

Rep: Reputation: 30
You nailed it in the subject. Use xwd and the ImageMagick package. Do "xwd -out foo.xwd" and then click on the window to dump. Then "convert foo.xwd foo.png" or some such to convert the xwd file to a usable format.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
commands for monitor off / power save tardigrade Linux - General 2 02-13-2005 01:28 AM
hi .. how i print screen and save it as jpg or other format? New In Linux 11 Linux - Newbie 4 07-28-2004 06:56 PM
ksnapshot won't print and save tiang_ono Linux - Newbie 1 05-13-2004 01:13 AM
Where to save IP Masquerading commands? hnash53 Linux - Networking 4 02-08-2004 02:29 PM
iptables save commands are not working tarheel92x Linux - Networking 1 01-19-2004 06:16 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration