10-04-2012, 01:21 PM | #1 |
Addict
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
[Solved] Any way to display custom graphics on the Kobo Wifi?
I've been trying lately to display custom images on my Kobo Wifi. I've had no luck
finding any documentation for the Wifi's imx357 and e-ink on freescale's website, and pygame fails to recognize the framebuffer. So I tried converting an image to the rgb565 format with ffmpeg: Code:
ffmpeg -vcodec png -i image.png -vcodec rawvideo -f rawvideo -pix_fmt rgb565 image.raw is distorted, as seen here (original image is shown in top-left corner): Anyone have any suggestions? I can't stand having my Wifi hacked and yet not being able to draw to the screen! Plus I need something to do until I can get my hands on a Glo or a Paperwhite. Last edited by KevinShort; 10-19-2012 at 01:08 PM. |
10-13-2012, 03:57 PM | #2 |
Addict
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
Solved!
I was wandering through the the files on my Wifi when I, on chance,
found the file "/sys/class/graphics/fb0/rotate". I saw that I contained a single "0", so I tried Code:
echo 1 > /sys/class/graphics/fb0/rotate pygame could suddenly see and draw to the framebuffer! I still have to rely on 'pickel' to update the screen: Code:
dd if=/dev/fb0 of=screen && cat screen | /usr/local/Kobo/pickel showpic Text rendering works as well, but both the text color and text background color must be specified, otherwise it will come out as a solid rectangle. Pygame on my Wifi with image and text: |
Tags |
hacking, kobo wifi, pickel |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I make sure graphics display correctly? (optimal size) | Bobosmite | Sigil | 4 | 08-31-2012 03:25 AM |
Walking Dead graphics novels come to Kobo (and are non-agency!) | scrapking | Kobo Tablets | 9 | 03-29-2012 06:50 AM |
Nook for PC doesn't display graphics | ButterflyBill | ePub | 8 | 09-28-2011 04:53 PM |
Kobo & inline graphics | Slope | Kobo Reader | 7 | 02-21-2011 12:25 PM |
Newbie Question : Draw Graphics on Hanlin v3 Display | biodiesel | HanLin eBook | 6 | 01-06-2010 12:17 AM |