11-23-2012, 05:22 PM
|
#26
|
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 5,143
Karma: 5328985
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|Ematic E6+E8|Rooted Nook Touch|NO K2!!
|
Quote:
Originally Posted by geekmaster
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: http://www.mobileread.com/forums/sho...&postcount=145
Thanks again mate
__________________
Audiophile and electron bully.
My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK
Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him.
The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set
Last edited by twobob; 11-23-2012 at 06:32 PM.
|
|
|