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 Mon 22 Dec 2014, 04:05
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 Posts_count_1  
Author Message
goingnuts

Joined: 07 Dec 2008
Posts: 784

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  122 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  212 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  206 Time(s) 
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count_1  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0547s ][ Queries: 12 (0.0131s) ][ GZIP on ]