XScreenSaver(1) XScreenSaver(1) NNAAMMEE vidwhacker - grab images and apply random filters to them SSYYNNOOPPSSIISS vviiddwwhhaacckkeerr [-display _h_o_s_t_:_d_i_s_p_l_a_y_._s_c_r_e_e_n] [-root] [-win- dow] [-verbose] [-stdin] [-stdout] [-delay seconds] DDEESSCCRRIIPPTTIIOONN The _v_i_d_w_h_a_c_k_e_r program grabs a image from the system's video input, applies random image filters to it, and dis- plays the result. The _v_i_d_w_h_a_c_k_e_r program does not termi- nate until killed. It depends heavily on xxvv(1) and the various PBM tools (e.g., ppppmmrreelliieeff(1).) OOPPTTIIOONNSS _v_i_d_w_h_a_c_k_e_r accepts the following options: --rroooott Draw on the root window. --wwiinnddooww Pop up a new window displaying the image. When a new image has been fully processed, destroy that window and pop up a new one. This is the default. --vveerrbboossee Print diagnostics. --ssttddiinn Instead of grabbing an image from the system's video input, read an image to maniupulate from stdin. This image must be in --ddeellaayy _s_e_c_o_n_d_s How long to sleep between images. Default 3 sec- onds (the actual elapsed time is significantly longer, due to processing time.) ppppmm(5) format. The program will still perform repeated random image transformations, but it will always use this one image as its starting point. --ssttddoouutt Instead of displaying the image on a window or on the root, write the new image on stdout, and exit. EENNVVIIRROONNMMEENNTT DDIISSPPLLAAYY to get the default host and display number. XXEENNVVIIRROONNMMEENNTT to get the name of a resource file that overrides the global resources stored in the RESOURCE_MAN- AGER property. BBUUGGSS Grabbing video images is, of course, very system-depen- dent. It works on SGIs, and on Linux systems that have the qqccaamm(1) program. If your system does things differ- ently, you'll need to edit the vidwhacker script (look for X Version 11 17-Jun-99 1 XScreenSaver(1) XScreenSaver(1) the _g_r_a_b_(_) function.) It's slow. TTOO DDOO It might be interesting to rewrite this to use ggiimmpp(1) plugins instead of the pbm tools. It probably wouldn't be any faster, but there would be a wider variety of effects available. SSEEEE AALLSSOO XX(1), xxssccrreeeennssaavveerr(1), xxvv(1), ppppmmttooggiiff(1), ccjjppeegg(1) CCOOPPYYRRIIGGHHTT Copyright (C) 1998, 1999 by Jamie Zawinski. Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted with- out fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. No representations are made about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. AAUUTTHHOORR Jamie Zawinski , 18-Jan-98. X Version 11 17-Jun-99 2