Quote:
Originally Posted by dimasic
I tried to modify screen.lua to use function fb2pgm instead of fb2bmp, because it can work with 8bpp framebuffer of K4. It's OK, but picture is inverted.
So, it's necessary to add condition for K4 to screen.lua and probably modify fb2bmp and/or fb2pgm functions.
|
The functions to store framebuffer content into common graphic formats were written to work properly with K2, K3 & KDX(G). I had neither newer kindle models (or their framebuffer dumps), nor intention to make this function universal.
Try to download the attached zip, unpack its content to ../screenshots/ and to replace the function in screen.lua
Code:
Screen:screenshot()
local format = "bmp" -- or tiff or pgm
os.execute("./screenshots/screen2"..format)
end
PS The attached binaries were also not tested with K4