Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 01 Aug 2014, 19:10
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
xsnap 1.3 modified + xsnap 1.5.2
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
goingnuts

Joined: 07 Dec 2008
Posts: 780

PostPosted: Mon 01 Aug 2011, 12:57    Post subject:  xsnap 1.3 modified + xsnap 1.5.2  

I have been searching for a "cheap" X-window snapshot application - xsnap (source-link) - seems to be the one.
Its a 16K bin and has this modest deps: X11, Xext,Xpm,Xau and Xdmcp.
The original uses xmessage to show help but this version is modified to use the overseen alternative to Xdialog: getgui pointed out by technosaurus here.

Attached the compiled bin as well as the modified source and a build script. If you prefer the xmessage version just download the org. source and use the included build script to compile it.
Code:
Usage:  xsnap [-options...]
Where options are:
[-display host:display]  Display to connect to.
[-bd borderwidth]        Color of border
[-bw borderwidth]        Width of border
[-geometry geom]         Geometry of snapshot window
[-icongeometry geom]     Location of icon.
[-region geom]           Region of screen to be copied.
[-iconic]                Start up in iconic state
[-name name]             Passed to window manager for name of window.
[-nograb]                Don't grab server during specification of region.
[-xpm]                   Write to output in 'xpm' format.
[-xwd]                   Write to output in 'xwd' format.
[-file filename]         Write output to file 'filename'.
[-convert app]           Apply conversion program 'app' to image.
[-stdout]                Write output to stdout.
[-noshow]                Don't display in window.
[-show]                  Do display in window.

Button bindings at runtime:                           
Button 1: select region of capture or framed window
Button 2: click on window to be captured
Button 3: cancel snapshot

Key bindings at runtime:
q/Q     quit
p/P     save snapshot as .xpm file.
w/W     save snapshot as .xwd file.
z/Z     enable snapshot compressing through gzip.
n/N     do not compress nor use any other conversion.
other   show help on key bindings.


There seems to be versions out there that also save to png and jpg but I could not find the source Sad .
Well - found it. Second attachment is the version 1.5 (32K). Saves to jpg, png, pnm, ppm, xpm and xwd. Just changed the font to fixed in source-file to make him run. Smile And in this version no need for xmessages or getgut - the help/action is build in - just right mouse click on captured image...
Update 070712: Source is gone so posting it here for reference
xsnap-1.5.2.tar.bz2
Description  source for xsnap-1.5.2
bz2

 Download 
Filename  xsnap-1.5.2.tar.bz2 
Filesize  26.98 KB 
Downloaded  103 Time(s) 
xsnap1_5_2_bin.tar.gz
Description  xsnap 1.5.2 bin
gz

 Download 
Filename  xsnap1_5_2_bin.tar.gz 
Filesize  14.58 KB 
Downloaded  198 Time(s) 
xsnap1_3_mod.tar.gz
Description  modified xsnap1.3 (modified to use getgui and not xmessage)
gz

 Download 
Filename  xsnap1_3_mod.tar.gz 
Filesize  16.24 KB 
Downloaded  189 Time(s) 
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0468s ][ Queries: 13 (0.0051s) ][ GZIP on ]