I don't have any need to change Kobo images, but poking around I made some simple python scripts to search, extract and patch them. This is really not very useful, but if someone is interested, it's not difficult to do.
For example, you can change the image shown on "About Kobo" with your prefered logo or a customized photo.
It's easy to do because there is only one image (790 x 330 px) for each device model and it's easy to locate.
But depending of wich images you want to change, there could be many variations for diferent devices/resolutions, and you should try-and-hope to know wich ones are used on your device. There are 1.239 images in nickel 3.19.5761, about 2,6 mb.
Readme.txt:
Spoiler:
Code:
Tool to extract and patch png images inside Kobo binaries
=========================================================
- python extract-png.py
- Edit variable KOBO_FW_FOLDER to fill your path to Kobo firmware files.
- Execute to extract png images.
- If you want to modify images, some tips:
- Edit the png images you want to modify with your preferred software.
- Don't remove image number and hexadecimal position from images filename (it's needed to find them in binaries when patching!)
- New png images could not be larger than original ones!
- Normally you can't change a simple image with a high-resolution photo for example because you are limited by filesize.
- But you can make some changes if you careful and optimize image.
- After your changes, use a compressor to reduce image filesize. Ex: compresspng.com optimizepng.com tinypng.com etc...
- nickel images:
- There are 1.239 png embedded in nickel 3.19.5761
- Some images are repeated with diferent resolutions for diferent devices.
- You probably must try-and-hope to locate wich images you need to change for your device.
- I only changed an image shown on my "About Kobo Glo Hd" (nickel-0375-175c6a.png) with a custom logo,
because it was very easy to locate (1 ocurrence with Model N437)
- python patch-png.py
- Edit variable KOBO_FW_FOLDER to fill your path to Kobo firmware files.
- Edit variables NEW_IMAGES and calls to patch_pngstreams with your selection.
- If you already patched nickel, you may want to indicate it in call to patch_pngstreams.
- Execute to patch png images.
- Execute ./publish.sh to create KoboRoot.tgz, and copy to folder .kobo/ in your device.
- Edit lines starting with cp $DIR_BINARY/ to select wich files to patch.