logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

glitchpeg - glitched image screen saver.

Author

       Jamie Zawinski.

X Version 11                                   6.08 (10-Oct-2023)                                  glitchpeg(6x)

Description

       Loads an image, corrupts it, and then displays the corrupted version, several times  a  second.  After  a
       while, finds a new image to corrupt.

       It  glitches  the  image  by altering random bytes in the compressed image file before de-compressing it.
       This creates interesting visual effects on JPEG files, but doesn't work well  on  PNG  files,  since  PNG
       contains checksums that detect simple corruption.

Environment

DISPLAY to get the default host and display number.

       XENVIRONMENT
               to get the  name  of  a  resource  file  that  overrides  the  global  resources  stored  in  the
               RESOURCE_MANAGER property.

       XSCREENSAVER_WINDOW
               The window ID to use with --root.

Name

       glitchpeg - glitched image screen saver.

Options

--visualvisual
               Specify  which  visual  to  use.   Legal  values are the name of a visual class, or the id number
               (decimal or hex) of a specific visual.

       --window
               Draw on a newly-created window.  This is the default.

       --root  Draw on the root window.

       --window-idnumber
               Draw on the specified window.

       --delaynumber
               Per-frame delay, in microseconds.  Default: 30000 (0.03 seconds).

       --durationnumber
               How many seconds before loading a new image.  Default: 120.

       --countnumber
               Number of glitches to introduce per iteration. Default: 400.

Security

       Because  this  program  is feeding intentionally-invalid data into your operating system's image-decoding
       libraries, it is possible that it may crash as a result of that corrupted data.

       That should not be possible -- but it might be.

       Please note that if this happens, that indicates a serious security bug in your system's image libraries!
       It likely means that your libraries are susceptible to buffer overflow attacks or similar, which can lead
       to remote code execution.  You should report that bug to the maintainers of those image libraries.

       In the context of xscreensaver, when configured to load only local image files,  this  should  not  be  a
       direct  security concern: this screen saver crashing will not affect the xscreensaver daemon and will not
       unlock your screen.

See Also

X(1), xscreensaver(1)

Synopsis

glitchpeg  [--display  host:display.screen]  [--visual  visual]  [--window] [--root] [--window-id number]
       [--delay number] [--duration number] [--count number]

See Also