View Single Post
Old 09-02-2020, 01:14 AM   #38
Winkelschraube
Connoisseur
Winkelschraube began at the beginning.
 
Winkelschraube's Avatar
 
Posts: 98
Karma: 10
Join Date: Jul 2020
Device: The (orly) amazing Kindle Oasis 3
Smile

Quote:
Originally Posted by pazos View Post
No with these changes. I'm afraid you'll need to rescale the image before calling writePNG.
I don't want to scale, I want to change the background of the image to keep the aspect ratio of the screen.

I was thinking about an imagemagic script that runs in the background and checks every 30 minutes if the image has been rewritten. Because I have no idea about Lua. But of course it is better to do it in KOReader, I will try it in the next weeks.


Thanks a lot for your help so far. This is really great.
Winkelschraube is offline   Reply With Quote