Quantcast
Channel: MobileRead Forums - Kobo Developer's Corner
Viewing all articles
Browse latest Browse all 1561

NickelMenu script for fixing Pocket images

$
0
0
As you may know, the current Pocket implementation in Kobo readers struggles with images other than Jpeg. Jpegs will be displayed fine, but all other image types, like Png, Svg or Gif simply won't be displayed.

As I grew tired of seeing the "image not found" icon - too many articles using png files and the like - I wrote a small script for NickelMenu to convert these images to Jpeg on the fly.

Add a line like this one to your NickelMenu config:

Code:

menu_item :library    :Convert Pocket Images    :cmd_spawn        :quiet:/bin/sh /mnt/onboard/.adds/pocket/fix.sh
Then extract pocket.zip to /mnt/onboard/.adds/pocket.

For now this only supports the conversion of Png files, as I've been using @NiLuJe's ImageMagick from his bag o' stuff.

Ps. You might need to reboot your Kobo if the article already was cached.

Attached Files
File Type: zip pocket.zip (3.85 MB)

Viewing all articles
Browse latest Browse all 1561

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>