Add swipe gesture emulation with keyboard
Add Image encode support