I am trying something similar at the moment. I use eips to display a generated bmp file. The bmp generated has to be generated "wrong" in order to be displayed correctly, see
https://www.mobileread.com/forums/sho...d.php?t=281635
eips can also display png and jpg images but those are harder to generate.
My complete setup is: jailbreak + mkk + KUAL + perl (compiled for kindle, someone in the Forums did it...) + mey Perlscript that generates the bmp