1
0
mirror of git://projects.qi-hardware.com/imgv.git synced 2024-06-14 23:49:52 +03:00
imgv, Very simple image viewer for the Ben imgv is a barebone SDL-based image viewer for the Ben Nanonote. At the moment it only supports loading and showing a single image from the command line: imgv "filename" Can zoom, rotate, auto-fit an image (via hotkeys). Tested with .BMP, .PNG and .JPG, but should should support the following formats: BMP, GIF, JPEG, LBM, PCX, PNG, PNM, TGA, TIFF, XCF, XPM, XV Using is with large images (i.e., larger than 1 megapixel) is not recommended due to CPU and memory constraints on the Ben: it becomes quite slow. http://projects.qi-hardware.com/index.php/p/imgv/
Go to file
Xiangfu Liu 16ccc7f946 some improvements to imgv
- zooming the image keeps the center at the same place
- if the image is smaller than the screen it is centered
- zooming a rotated image keeps the rotation
- the current path and file name is displayed above the image (can be hidden
with "d")
- you can add more than one image file as parameter (run "imgv a.jpg b.jpg
*.png" and cycle through them by pressing "n" or "p")
- start / stop slideshow by pressing "s" (will load the next image after 5
seconds)

According to the TODO file, Niels would call this version 0.3.0.

If you want to use it on one of the newer OpenWrt images with uclibc-0.9.32
you have to link it against libpthread (so add "-lpthread" the the LIBS
variable in the Makefile).

Niels
2010-10-20 10:13:18 +08:00
CHANGELOG add changelog, copy form Fernando's email 2010-05-30 23:17:45 +08:00
Makefile some improvements to imgv 2010-10-20 10:13:18 +08:00
sdl-imageviewer.c some improvements to imgv 2010-10-20 10:13:18 +08:00
TODO add TODO file. copy from Fernando's email 2010-05-31 17:29:18 +08:00