ViewImage for Dingux
version 1.2.1


Installation:
Place the binary "viewimage.dge" and the font file "FreeSans.ttf" together in a directory on your SD card.
The directory "local/apps/viewimage" is suggested as an example.

For dmenu, you can add it with the following:
	MenuItem Viewimage
	{
	Icon = "/boot/local/apps/viewimage/viewimage.png"
	Name = " ViewImage"
	Executable = "./viewimage.dge"
	WorkDir = "/boot/local/apps/viewimage"
	Selector = yes
	}


Usage:
To run, execute the viewimage/viewimage.dge file, and pass the desired file(s) as arguments. You may use wildcards.

Examples:
                % viewimage.dge foo.png
                % viewimage.dge /boot/local/pictures/*.jpg


Controls:
	D-Pad Left & Down goes to the next image
	D-Pad Right & Up goes to the previous image
	A zooms the current image to full size
	* While zoomed, D-Pad allows you to pan around the image
	Y toggles display of file info on/off
	X un-zooms the current image
	Hold locks the controls and runs a slideshow of the images, changing every 10 seconds.
	Select exits the program. ** works even with the hold button engaged


Configuration:
There is no configuration necessary.


More Info:

viewimage.dge for Dingoo is modified from Image Viewer, by chakie
http://chakie.infa.fi/projects/viewimage/

It has been modified for Dingux and the featureset has been expanded
by Stephanie Maks		http://planetstephanie.net/

Changelog:
	1.2.1	- bugix: now getting font path from argv, instead of assuming it is current pwd
			- also fixed segfault if font is not found at all
	1.2		- added ability to zoom images (to full size) & pan using d-pad
			- added option to view image info, use Y to toggle on/off
	1.1		- added slideshow with hold button & fixed scaling bug for square images
	1.01	- added rotation function & fixed scaling to use best format (portrait/landscape)
	1.0		- initial Dingux release

Known Issues
	- there is sometimes some tearing along the bottom of the image, especially when
		zooming & panning, or when paging backwards through the images
	- zooming after rotating is probably flakey, results might be unexpected

