![]() |
#1 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Mar 2015
Device: Kindle 4 NT (4.1.2)
|
Strange eips behaviour
Hi everyone,
This is my first post here, but I've used the forum extensively so thank you for providing such a great resource! I have a jailbroken Kindle 4 NT with USBNet installed. Everything works as expected except for one thing I can't figure out. I haven't been able to find the same problem on these forums. I am using the Kindle to display 8bit PNG images at regular intervals using eips. To display an image I do: Code:
eips -g image.png I've attached two images, one that works and one that doesn't. Attached is also pictures of how they look on the Kindle. I hope someone has an idea why this happens. Thanks in advance! |
![]() |
![]() |
![]() |
#2 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
They need to be saved as true PNG-8, even if they're dithered down to 16 colors.
The first one is, the second isn't, it's saved as a paletted PNG, which eips can't deal with. Code:
Orca.png PNG 600x800 600x800+0+0 8-bit sRGB 256c 29.9KB 0.000u 0:00.000 scr.png PNG 600x800 600x800+0+0 8-bit sRGB 16c 94.5KB 0.000u 0:00.000 |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Mar 2015
Device: Kindle 4 NT (4.1.2)
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#4 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Anything does the job really, as long as you make sure not to leave them paletted after dithering.
I usually go the CLI-way with ImageMagick, I have posted my usual one-liner a couple of times before ![]() |
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Mar 2015
Device: Kindle 4 NT (4.1.2)
|
Thank you, I'll take a look at that.
![]() |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
I can't recall if the Kindles have the 'file' command pre-installed in the system files or not ...
But if they do, a quick check: Code:
core2quad Downloads $ file *.png Orca.png: PNG image data, 600 x 800, 8-bit grayscale, non-interlaced scr.png: PNG image data, 600 x 800, 8-bit colormap, non-interlaced |
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Mar 2015
Device: Kindle 4 NT (4.1.2)
|
I just checked and it doesn't seem to have it pre-installed. But it's installed on my laptop and I didn't know I could use it for this purpose, so thanks!
|
![]() |
![]() |
![]() |
#8 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,500
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
Interesting case!
I wanted to put some useful information on 'battery dead' screen (where I think it would be the most useful). Took the original pictures from /opt/amazon/low_level_screens/600x800/ and added info through GIMP. Then I did all by the suggestion given here to convert my png's to required format using ImageMagick: Code:
convert {input_image} -type GrayScale -depth 8 -colors 256 gray.png Imagemagick's identify call gives me: Code:
$cd$>magick identify critbatt.png critbatt.png PNG 600x800 600x800+0+0 8-bit Gray 256c 9894B 0.000u 0:00.000 Also I run 'eips -g critbatt.png' from Putty and it showed up correctly! Finally, I put my images to /opt/amazon/low_level_screens/ru/600x800/ (where my localization folder is). However, the last test always fails - the real experiment. So I wait until the battery drains (Kindle is a real die hard survivor, I would say!) - and it shows up all screwed up, the same as in the OP's second case. The image is squeezed. Interestingly enough, all other replaced images works perfectly! The more vibrant splash screen, update screens, USB charging screens (from different folder and in .gif fromat, but nevertheless) etc. I didn't try shipping mode image though since I don't know how to summon this mode (probably some search bar commands IRC) So, the question is, what is the reason of such strange exclusion? I would appreciate if anyone knows. Thank you! P.S. Yes, the original image works. When I received my Kindle it was showing this 'battery dead' screen correctly. Last edited by mergen3107; 06-07-2017 at 01:15 AM. |
![]() |
![]() |
![]() |
#9 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,500
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
Tried a bit more.
I put completely different image instead of critbatt.png and it turns out that the first squeezed one is 'stuck' somewhere in cache - is still shows up in the same way instead of the new one, only the fist half is visible, but it is squeezed to the whole screen real estate. I also tried to put a tricky image which has all the necessary information 'squeezed' only to the first half in width, so I thought when Kindle squeeze it again it will look normal. However it didn't work probably due to the suspicion in the previous paragraph. Any clues where I should look for this 'low power cache' and the reasons why it stuck? P.S. Also I am thinking about the case that these folders of 'opt/amazon/low_level_screens/$locale$/600x800/' serve a container which Kindle grabs boot pictures but only for the first time. A contrary argument is that iterative replacement of 'reboot.png' was always working - I got it working after some trials. So now I am a bit confused. Would appreciate any help. |
![]() |
![]() |
![]() |
#10 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Ah.... ![]() That screen can show before a locale (language) is selected at first start-up. Yours was. ![]() So maybe it is kept somewhere other than the localized versions. I.E: You might be changing en_Universal while looking at en_GB (or some such sort of combination). |
|
![]() |
![]() |
![]() |
Tags |
eips, kindle 4 nt, png |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-T2 Strange Wi-fi behaviour | mediax | Sony Reader | 13 | 06-10-2013 01:31 PM |
PRS-T1 Strange T1 behaviour .... | carpetmojo | Sony Reader | 3 | 03-24-2012 03:55 AM |
calibredb strange behaviour | webwizard | Library Management | 9 | 04-17-2011 10:17 AM |
Strange charging behaviour | bob_ninja | Bookeen | 2 | 01-15-2010 07:44 AM |
Strange Behaviour | poshm | PocketBook | 9 | 12-31-2009 09:39 AM |