Thread: eips 5.1.0
View Single Post
Old 11-23-2012, 05:22 PM   #26
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
Originally Posted by geekmaster View Post
eips is a custom eink support program for kindles, that until now had no source code and no documentation except that it listed a single line showing command line parameters it will accept.

I just discovered that after the 5.1.0 upgrade, this is what you now get from eips with no parameters:
Code:

usage:
to print strings: eips [row] [col] [-h] string
		 -h for highlighted text
to show image: eips -g|-b image_path [-w waveform -f -x xpos -y ypos -v]
		 -g for png, -b for bitmap
		 -w waveform can be gc16 gl16 or du, default is gc16
		 -f for full update, default is partial update
		 -x -y in units of pixels
		 -v for inverted picture
to paint a retangle on screen: eips -d l=a,w=b,h=c [-x xx -y yy -w wf]
		 a is gray level in hex, b is width, c is height, with optional xx yy location, waveform mode
to clear display: eips -c 
to paint checker: eips -q 
to paint grayscale: eips -l 
to paint pattern: eips -p 
to paint barcode: eips -r barcode
to print fb info: eips -i

This is MUCH better than just experimenting and hoping to find something useful in the previously undocumented parameter list (using startup scripts as examples).

I already knew most of these, but the ones I did not know how to use look quite useful. I like that "paint a gray rectangle" option, and the bitmap support.

Thanks amazon and lab126!

while :;do eips -q -wdu;usleep 130000;eips -v -q -wdu;usleep 130000;done (K5)

Just to say that

[root@kindle root]# eips -g /mnt/us/usr/bin/pictures/gameboy.png

works okay on a 3

but actually

[root@kindle root]# eips -g /mnt/us/usr/bin/pictures/gameboy.jpg

works good as well

Viz here: https://www.mobileread.com/forums/sho...&postcount=145

Thanks again mate

Last edited by twobob; 11-23-2012 at 06:32 PM.
twobob is offline   Reply With Quote