A Simple X Image Viewer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 6.8 KiB

11 jaren geleden
14 jaren geleden
14 jaren geleden
14 jaren geleden
14 jaren geleden
14 jaren geleden
14 jaren geleden
14 jaren geleden
13 jaren geleden
14 jaren geleden
7 jaren geleden
7 jaren geleden
9 jaren geleden
10 jaren geleden
10 jaren geleden
10 jaren geleden
11 jaren geleden
11 jaren geleden
11 jaren geleden
11 jaren geleden
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. ![sxiv](http://muennich.github.com/sxiv/img/logo.png "sxiv")
  2. **Simple X Image Viewer**
  3. The primary goal of sxiv is to create an image viewer, which only has the most
  4. basic features required for fast image viewing (the ones I want). It has vi key
  5. bindings and works nicely with tiling window managers. Its code base should be
  6. kept small and clean to make it easy for you to dig into it and customize it
  7. for your needs.
  8. Features
  9. --------
  10. * Basic image operations, e.g. zooming, panning, rotating
  11. * Customizable key and mouse button mappings (in *config.h*)
  12. * Thumbnail mode: grid of selectable previews of all images
  13. * Ability to cache thumbnails for fast re-loading
  14. * Basic support for multi-frame images
  15. * Load all frames from GIF files and play GIF animations
  16. * Display image information in status bar
  17. Screenshots
  18. -----------
  19. **Image mode:**
  20. ![Image](http://muennich.github.com/sxiv/img/image.png "Image mode")
  21. **Thumbnail mode:**
  22. ![Thumb](http://muennich.github.com/sxiv/img/thumb.png "Thumb mode")
  23. Installation
  24. ------------
  25. sxiv is built using the commands:
  26. $ make
  27. # make install
  28. Please note, that the latter one requires root privileges.
  29. By default, sxiv is installed using the prefix "/usr/local", so the full path
  30. of the executable will be "/usr/local/bin/sxiv".
  31. You can install sxiv into a directory of your choice by changing the second
  32. command to:
  33. # make PREFIX="/your/dir" install
  34. The build-time specific settings of sxiv can be found in the file *config.h*.
  35. Please check and change them, so that they fit your needs.
  36. If the file *config.h* does not already exist, then you have to create it with
  37. the following command:
  38. $ make config.h
  39. Usage
  40. -----
  41. Please see the [man page](http://muennich.github.com/sxiv/sxiv.1.html) for
  42. information on how to use sxiv.
  43. Download & Changelog
  44. --------------------
  45. You can [browse](https://github.com/muennich/sxiv) the source code repository
  46. on GitHub or get a copy using git with the following command:
  47. git clone https://github.com/muennich/sxiv.git
  48. **Stable releases**
  49. **[v24](https://github.com/muennich/sxiv/archive/v24.tar.gz)**
  50. *(October 27, 2017)*
  51. * Automatically reload the current image whenever it changes
  52. * Support embedding into other X windows with -e (e.g. tabbed)
  53. * New option -p prevents sxiv from creating cache and temporary files
  54. * Simpler mouse mappings, the most basic features are accessible with the
  55. mouse only (navigate, zoom, pan)
  56. **[v1.3.2](https://github.com/muennich/sxiv/archive/v1.3.2.tar.gz)**
  57. *(December 20, 2015)*
  58. * external key handler gets file paths on stdin, not as arguments
  59. * Cache out-of-view thumbnails in the background
  60. * Apply gamma correction to thumbnails
  61. **[v1.3.1](https://github.com/muennich/sxiv/archive/v1.3.1.tar.gz)**
  62. *(November 16, 2014)*
  63. * Fixed build error, caused by delayed config.h creation
  64. * Fixed segfault when run with -c
  65. **[v1.3](https://github.com/muennich/sxiv/archive/v1.3.tar.gz)**
  66. *(October 24, 2014)*
  67. * Extract thumbnails from EXIF tags (requires libexif)
  68. * Zoomable thumbnails, supported sizes defined in config.h
  69. * Fixed build error with giflib version >= 5.1.0
  70. **[v1.2](https://github.com/muennich/sxiv/archive/v1.2.tar.gz)**
  71. *(April 24, 2014)*
  72. * Added external key handler, called on keys prefixed with `Ctrl-x`
  73. * New keybinding `{`/`}` to change gamma (by András Mohari)
  74. * Support for slideshows, enabled with `-S` option & toggled with `s`
  75. * Added application icon (created by 0ion9)
  76. * Checkerboard background for alpha layer
  77. * Option `-o` only prints files marked with `m` key
  78. * Fixed rotation/flipping of multi-frame images (gifs)
  79. **[v1.1.1](https://github.com/muennich/sxiv/archive/v1.1.1.tar.gz)**
  80. *(June 2, 2013)*
  81. * Various bug fixes
  82. **[v1.1](https://github.com/muennich/sxiv/archive/v1.1.tar.gz)**
  83. *(March 30, 2013)*
  84. * Added status bar on bottom of window with customizable content
  85. * New keyboard shortcuts `\`/`|`: flip image vertically/horizontally
  86. * New keyboard shortcut `Ctrl-6`: go to last/alternate image
  87. * Added own EXIF orientation handling, removed dependency on libexif
  88. * Fixed various bugs
  89. **[v1.0](https://github.com/muennich/sxiv/archive/v1.0.tar.gz)**
  90. *(October 31, 2011)*
  91. * Support for multi-frame images & GIF animations
  92. * POSIX compliant (IEEE Std 1003.1-2001)
  93. **[v0.9](https://github.com/muennich/sxiv/archive/v0.9.tar.gz)**
  94. *(August 17, 2011)*
  95. * Made key and mouse mappings fully configurable in config.h
  96. * Complete code refactoring
  97. **[v0.8.2](https://github.com/muennich/sxiv/archive/v0.8.2.tar.gz)**
  98. *(June 29, 2011)*
  99. * POSIX-compliant Makefile; compiles under NetBSD
  100. **[v0.8.1](https://github.com/muennich/sxiv/archive/v0.8.1.tar.gz)**
  101. *(May 8, 2011)*
  102. * Fixed fullscreen under window managers, which are not fully EWMH-compliant
  103. **[v0.8](https://github.com/muennich/sxiv/archive/v0.8.tar.gz)**
  104. *(April 18, 2011)*
  105. * Support for thumbnail caching
  106. * Ability to run external commands (e.g. jpegtran, convert) on current image
  107. **[v0.7](https://github.com/muennich/sxiv/archive/v0.7.tar.gz)**
  108. *(February 26, 2011)*
  109. * Sort directory entries when using `-r` command line option
  110. * Hide cursor in image mode
  111. * Full functional thumbnail mode, use Return key to switch between image and
  112. thumbnail mode
  113. **[v0.6](https://github.com/muennich/sxiv/archive/v0.6.tar.gz)**
  114. *(February 16, 2011)*
  115. * Bug fix: Correctly display filenames with umlauts in window title
  116. * Basic support of thumbnails
  117. **[v0.5](https://github.com/muennich/sxiv/archive/v0.5.tar.gz)**
  118. *(February 6, 2011)*
  119. * New command line option: `-r`: open all images in given directories
  120. * New key shortcuts: `w`: resize image to fit into window; `W`: resize window
  121. to fit to image
  122. **[v0.4](https://github.com/muennich/sxiv/archive/v0.4.tar.gz)**
  123. *(February 1, 2011)*
  124. * New command line option: `-F`, `-g`: use fixed window dimensions and apply
  125. a given window geometry
  126. * New key shortcut: `r`: reload current image
  127. **[v0.3.1](https://github.com/muennich/sxiv/archive/v0.3.1.tar.gz)**
  128. *(January 30, 2011)*
  129. * Bug fix: Do not set setuid bit on executable when using `make install`
  130. * Pan image with mouse while pressing middle mouse button
  131. **[v0.3](https://github.com/muennich/sxiv/archive/v0.3.tar.gz)**
  132. *(January 29, 2011)*
  133. * New command line options: `-d`, `-f`, `-p`, `-s`, `-v`, `-w`, `-Z`, `-z`
  134. * More mouse mappings: Go to next/previous image with left/right click,
  135. scroll image with mouse wheel (horizontally if Shift key is pressed),
  136. zoom image with mouse wheel if Ctrl key is pressed
  137. **[v0.2](https://github.com/muennich/sxiv/archive/v0.2.tar.gz)**
  138. *(January 23, 2011)*
  139. * Bug fix: Handle window resizes correctly
  140. * New keyboard shortcuts: `g`/`G`: go to first/last image; `[`/`]`: go 10
  141. images back/forward
  142. * Support for mouse wheel zooming (by Dave Reisner)
  143. * Added fullscreen mode
  144. **[v0.1](https://github.com/muennich/sxiv/archive/v0.1.tar.gz)**
  145. *(January 21, 2011)*
  146. * Initial release