OK, I've managed to change combination of keys ScreenKB - KEY_FW_UP from "Add Bookmark" to "Make Screenshot" in CRE module by replacing self:addBookmarkCommand() with Screen:screenshot() in corresponding section of crereader.lua. When I press these buttons, it says: "Screenshot is ready in blah-blah-blah", creates file of screenshot in bmp format, but.. it looks like that:
Yes, indeed I tried to open non-valid file, it's only an example. But the screen does not look so ugly. There's message "ERROR: Error reading PDB format. Cannot open document". With other files, which are valid and I can open and read with CRE, the same thing: screen looks OK, but screenshot is not.
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.