![]() |
#106 |
Librarian
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 346
Karma: 72225
Join Date: Apr 2015
Location: Liège - Belgium
Device: kobo gloHD - KA1
|
any howto about create and display an image on a kobo with pickel ? (i found some threads, one about a weather forecast program, but I couldn’t figure it)
|
![]() |
![]() |
![]() |
#107 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#108 | |
Librarian
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 346
Karma: 72225
Join Date: Apr 2015
Location: Liège - Belgium
Device: kobo gloHD - KA1
|
Quote:
![]() Last edited by cramoisi; 02-12-2016 at 04:07 AM. |
|
![]() |
![]() |
![]() |
#109 |
Librarian
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 346
Karma: 72225
Join Date: Apr 2015
Location: Liège - Belgium
Device: kobo gloHD - KA1
|
Couldn’t get it right. got the raw image, ffmpeg it to bmp as you point me, change its resolution, got it back to raw, and to gz after that, but didn’t display well at all on the gloHD (the image is displayed diagonally and repetitively (i could see more that one occurence of the text on the screen). Forgot to take screenshots as it was the first test i did and the best one I got. could it be related to the 300ppi of the glo HD ? or the orientation of the image (i tried several initial position without success) ?
|
![]() |
![]() |
![]() |
#110 |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
diagonally/repetively usually means you got the wrong dimensions and/or color depth when converting
if it doesn't have to be pickel, you could also use pngshow which you can find in my github and some mods of mine (screensaver for example), it just shows regular PNG images... |
![]() |
![]() |
Advert | |
|
![]() |
#111 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
The next thing I was going to propose was using pngshow. |
|
![]() |
![]() |
![]() |
#112 | |
Librarian
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 346
Karma: 72225
Join Date: Apr 2015
Location: Liège - Belgium
Device: kobo gloHD - KA1
|
Quote:
![]() mode "1072x1448-45" # D: 80.000 MHz, H: 65.681 kHz, V: 45.049 Hz geometry 1072 1448 1088 3072 16 timings 12500 16 102 4 4 28 2 accel false rgba 5/11,6/5,5/0,0/0 endmode Last edited by cramoisi; 02-15-2016 at 05:35 AM. |
|
![]() |
![]() |
![]() |
#113 |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
if you used 1072, try with 1088 instead (or vice versa)
|
![]() |
![]() |
![]() |
#114 | |
Connoisseur
![]() ![]() Posts: 63
Karma: 196
Join Date: Oct 2010
Device: Kobo Glo Hd, Kobo H2O2
|
Quote:
raw -> png Code:
ffmpeg -f rawvideo -pix_fmt rgb565 -s 1088x1440 -i <(head -c 3133440 "alyssum-menu.raw") -y "alyssum-menu.png" < /dev/null Code:
ffmpeg -i alyssum-menu.png -f rawvideo -pix_fmt rgb565 -s 1088x1440 -y alyssum-menu-new.raw < /dev/null |
|
![]() |
![]() |
![]() |
#115 |
Librarian
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 346
Karma: 72225
Join Date: Apr 2015
Location: Liège - Belgium
Device: kobo gloHD - KA1
|
Hi Traycold,
(Did you test it on kobo screen afterward ? I ask because I had no problem to decode it to bmp, it’s when reencoding it and trying to display it that it went wrong.) The sample you provide is working ! many thanks ! 1088 did the trick, obviously. But i can’t decode the raw to png using your line of code Last edited by cramoisi; 02-15-2016 at 08:53 AM. |
![]() |
![]() |
![]() |
#116 |
Connoisseur
![]() ![]() Posts: 63
Karma: 196
Join Date: Oct 2010
Device: Kobo Glo Hd, Kobo H2O2
|
I don't have the kobo with me now, so I can't test the png->raw part, but I tested the raw->png conversion right now on my PC and it works correctly (I used the gzipped raw attached to previous message, of course after unzipping it).
|
![]() |
![]() |
![]() |
#117 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
|
![]() |
![]() |
![]() |
#118 |
Librarian
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 346
Karma: 72225
Join Date: Apr 2015
Location: Liège - Belgium
Device: kobo gloHD - KA1
|
Hi traycold,
Ok, so I did a mistake. I tried to use your lines to decode the actual raws in the package provided by Shadoooo (the one from this post). Perhaps what I must do is : raws from the package to bmp with the lines provided by tshering, save them in png and reencode them with your lines ? I didn’t try to decode the raw you provided obviously it’s working. I’ll try that this morning anyway. Last edited by cramoisi; 02-16-2016 at 02:05 AM. Reason: link |
![]() |
![]() |
![]() |
#119 | |
Connoisseur
![]() ![]() Posts: 63
Karma: 196
Join Date: Oct 2010
Device: Kobo Glo Hd, Kobo H2O2
|
Quote:
Code:
gunzip anImage.raw.gz # you get anImage.raw If you want to create images for glo hd, just take any png image you want, change the dimention to 1088 x 1440, convert it to raw and gzip it. No need to use bpm format. |
|
![]() |
![]() |
![]() |
#120 | |
Librarian
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 346
Karma: 72225
Join Date: Apr 2015
Location: Liège - Belgium
Device: kobo gloHD - KA1
|
Quote:
![]() Last edited by cramoisi; 02-16-2016 at 06:56 AM. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Aura H2O Open book in Koreader from Nickel? | tayseidel | Kobo Developer's Corner | 2 | 01-03-2016 03:35 PM |
Kobo-advboot Nickel or KOReader startup menu | Ken Maltby | KOReader | 0 | 01-02-2016 02:22 PM |
Aura H2O Koreader and malformed nickel database | Patricius | Kobo Reader | 38 | 08-03-2015 05:45 AM |
Aura H2O Problem with KSM and/or Koreader -> Nickel full freeze | johnnyb | Kobo Developer's Corner | 8 | 04-15-2015 02:18 AM |
Eink stanalone demo Qt eink driver for standalone qt apps ie no nickel nickel | tonyv | Kobo Developer's Corner | 2 | 12-27-2012 09:35 AM |