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.4 KiB

14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
13 years ago
14 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  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 information on how to use sxiv.
  42. Download & Changelog
  43. --------------------
  44. You can [browse](https://github.com/muennich/sxiv) the source code repository
  45. on GitHub or get a copy using git with the following command:
  46. git clone https://github.com/muennich/sxiv.git
  47. **Stable releases**
  48. **[v1.3.2](https://github.com/muennich/sxiv/archive/v1.3.2.tar.gz)**
  49. *(December 20, 2015)*
  50. * external key handler gets file paths on stdin, not as arguments
  51. * Cache out-of-view thumbnails in the background
  52. * Apply gamma correction to thumbnails
  53. **[v1.3.1](https://github.com/muennich/sxiv/archive/v1.3.1.tar.gz)**
  54. *(November 16, 2014)*
  55. * Fixed build error, caused by delayed config.h creation
  56. * Fixed segfault when run with -c
  57. **[v1.3](https://github.com/muennich/sxiv/archive/v1.3.tar.gz)**
  58. *(October 24, 2014)*
  59. * Extract thumbnails from EXIF tags (requires libexif)
  60. * Zoomable thumbnails, supported sizes defined in config.h
  61. * Fixed build error with giflib version >= 5.1.0
  62. **[v1.2](https://github.com/muennich/sxiv/archive/v1.2.tar.gz)**
  63. *(April 24, 2014)*
  64. * Added external key handler, called on keys prefixed with `Ctrl-x`
  65. * New keybinding `{`/`}` to change gamma (by András Mohari)
  66. * Support for slideshows, enabled with `-S` option & toggled with `s`
  67. * Added application icon (created by 0ion9)
  68. * Checkerboard background for alpha layer
  69. * Option `-o` only prints files marked with `m` key
  70. * Fixed rotation/flipping of multi-frame images (gifs)
  71. **[v1.1.1](https://github.com/muennich/sxiv/archive/v1.1.1.tar.gz)**
  72. *(June 2, 2013)*
  73. * Various bug fixes
  74. **[v1.1](https://github.com/muennich/sxiv/archive/v1.1.tar.gz)**
  75. *(March 30, 2013)*
  76. * Added status bar on bottom of window with customizable content
  77. * New keyboard shortcuts `\`/`|`: flip image vertically/horizontally
  78. * New keyboard shortcut `Ctrl-6`: go to last/alternate image
  79. * Added own EXIF orientation handling, removed dependency on libexif
  80. * Fixed various bugs
  81. **[v1.0](https://github.com/muennich/sxiv/archive/v1.0.tar.gz)**
  82. *(October 31, 2011)*
  83. * Support for multi-frame images & GIF animations
  84. * POSIX compliant (IEEE Std 1003.1-2001)
  85. **[v0.9](https://github.com/muennich/sxiv/archive/v0.9.tar.gz)**
  86. *(August 17, 2011)*
  87. * Made key and mouse mappings fully configurable in config.h
  88. * Complete code refactoring
  89. **[v0.8.2](https://github.com/muennich/sxiv/archive/v0.8.2.tar.gz)**
  90. *(June 29, 2011)*
  91. * POSIX-compliant Makefile; compiles under NetBSD
  92. **[v0.8.1](https://github.com/muennich/sxiv/archive/v0.8.1.tar.gz)**
  93. *(May 8, 2011)*
  94. * Fixed fullscreen under window managers, which are not fully EWMH-compliant
  95. **[v0.8](https://github.com/muennich/sxiv/archive/v0.8.tar.gz)**
  96. *(April 18, 2011)*
  97. * Support for thumbnail caching
  98. * Ability to run external commands (e.g. jpegtran, convert) on current image
  99. **[v0.7](https://github.com/muennich/sxiv/archive/v0.7.tar.gz)**
  100. *(February 26, 2011)*
  101. * Sort directory entries when using `-r` command line option
  102. * Hide cursor in image mode
  103. * Full functional thumbnail mode, use Return key to switch between image and
  104. thumbnail mode
  105. **[v0.6](https://github.com/muennich/sxiv/archive/v0.6.tar.gz)**
  106. *(February 16, 2011)*
  107. * Bug fix: Correctly display filenames with umlauts in window title
  108. * Basic support of thumbnails
  109. **[v0.5](https://github.com/muennich/sxiv/archive/v0.5.tar.gz)**
  110. *(February 6, 2011)*
  111. * New command line option: `-r`: open all images in given directories
  112. * New key shortcuts: `w`: resize image to fit into window; `W`: resize window
  113. to fit to image
  114. **[v0.4](https://github.com/muennich/sxiv/archive/v0.4.tar.gz)**
  115. *(February 1, 2011)*
  116. * New command line option: `-F`, `-g`: use fixed window dimensions and apply
  117. a given window geometry
  118. * New key shortcut: `r`: reload current image
  119. **[v0.3.1](https://github.com/muennich/sxiv/archive/v0.3.1.tar.gz)**
  120. *(January 30, 2011)*
  121. * Bug fix: Do not set setuid bit on executable when using `make install`
  122. * Pan image with mouse while pressing middle mouse button
  123. **[v0.3](https://github.com/muennich/sxiv/archive/v0.3.tar.gz)**
  124. *(January 29, 2011)*
  125. * New command line options: `-d`, `-f`, `-p`, `-s`, `-v`, `-w`, `-Z`, `-z`
  126. * More mouse mappings: Go to next/previous image with left/right click,
  127. scroll image with mouse wheel (horizontally if Shift key is pressed),
  128. zoom image with mouse wheel if Ctrl key is pressed
  129. **[v0.2](https://github.com/muennich/sxiv/archive/v0.2.tar.gz)**
  130. *(January 23, 2011)*
  131. * Bug fix: Handle window resizes correctly
  132. * New keyboard shortcuts: `g`/`G`: go to first/last image; `[`/`]`: go 10
  133. images back/forward
  134. * Support for mouse wheel zooming (by Dave Reisner)
  135. * Added fullscreen mode
  136. **[v0.1](https://github.com/muennich/sxiv/archive/v0.1.tar.gz)**
  137. *(January 21, 2011)*
  138. * Initial release