Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 08-15-2021, 11:43 AM   #1
hellogareth
Junior Member
hellogareth began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2021
Device: PW2
Online Screen Saver refresh problem

Hi there.

Thanks to everyone who has contributed towards the plugins in question. I am having some trouble with the Online Screen Saver. I was hoping maybe someone could point me in the right direction.

I am using a PW2 5.12.2.1.1.

I am updating a single PNG image from a Firebase storage bucket that overwrites the 'bg_ss00.png' in the 'screensavers' folder. The image renders correctly on first load, but when it refreshes it renders a black rectangle over the top two thirds of the screen - which does show some of the updated image data.

The image is being rendered using HTML5 canvas and creates a base64 url that get's encoded to a PNG file (768 x 1024).

I'm not sure if this is something I am doing wrong with the encoding of the image, or some eips config that I need to tweak.

Thanks.
Gareth
hellogareth is offline   Reply With Quote
Old 08-15-2021, 03:19 PM   #2
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
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
eips (and the native framework) are very capricious about hwo the image has to be encoded (... and they both have different quirks).

Check how the ScreenSavers's hack cover mode encodes 'em for all the gory details (because I don't actually remember them all xD).
NiLuJe is offline   Reply With Quote
Advert
Old 08-16-2021, 04:52 PM   #3
hellogareth
Junior Member
hellogareth began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2021
Device: PW2
Quote:
Originally Posted by NiLuJe View Post
eips (and the native framework) are very capricious about hwo the image has to be encoded (... and they both have different quirks).

Check how the ScreenSavers's hack cover mode encodes 'em for all the gory details (because I don't actually remember them all xD).
Great. Thanks, NiLuJe. I'm using a PNG encoder to simplify the process as image encoding from canvas for this very specific case is beyond me. The visual artefacts are mostly resolved - just need to work out a scaling bug, it seems!
hellogareth is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
online screen saver rklueber Kindle Developer's Corner 1 07-31-2022 09:03 AM
Kindle Keyboard Screen Saver Hack - Problem MickeyMark Amazon Kindle 3 05-18-2014 01:52 PM
Screen refresh problem kindle 2 Gwen Morse Amazon Kindle 0 01-24-2014 09:58 PM
Screen Saver (did everything right, but still have a problem) aeolus Kindle Developer's Corner 4 07-27-2011 11:39 AM
Kindle 2 vs Kindle 2 - Screen Refresh Problem weatherman Amazon Kindle 1 09-16-2010 03:58 PM


All times are GMT -4. The time now is 08:28 PM.


MobileRead.com is a privately owned, operated and funded community.