mirror of
git://projects.qi-hardware.com/imgv.git
synced 2024-11-23 20:30:16 +02: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/
16ccc7f946
- 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 |
||
---|---|---|
CHANGELOG | ||
Makefile | ||
sdl-imageviewer.c | ||
TODO |