Thread: Nickel Icons
View Single Post
Old 07-13-2015, 12:08 PM   #5
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
Kind of off topic, but ... :P

You can convert the raw files to png with an ffmpeg command that can be found in this forum somewhere. My pngcat program used to do PNG -> RAW conversions. You can find it somewhere in the history of my GitHub (google frostschutz github kobo pngcat). If you use pngshow (part of my ScreenSaver mod) something like this might work:

Code:
# rotate screen for pickel
cat /dev/zero | /usr/local/Kobo/pickel showpic
# whiteout
tr '\x00' '\xff' < /dev/zero > /dev/fb0
# actually display an image
/usr/local/ScreenSaver/pngshow something.png
# gzip raw framebuffer data into a file
gzip < /dev/fb0 > something.raw.gz
Haven't actually tested it. For the progress bar you need 11 images (/etc/image/product-on- 1 .. 11), more if you want to cover other products than just your own reader.

EDIT: Just tested it, works for me (H2O / dahlia)

Last edited by frostschutz; 07-13-2015 at 12:54 PM.
frostschutz is offline   Reply With Quote