Code to convert image at path into cached RGBA data

This commit is contained in:
Kovid Goyal
2024-07-22 21:38:13 +05:30
parent 1b6f74da65
commit fb20c4acb6
4 changed files with 283 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ import (
"kitty/tools/cmd/show_error"
"kitty/tools/cmd/update_self"
"kitty/tools/tui"
"kitty/tools/utils/images"
)
var _ = fmt.Print
@@ -103,6 +104,8 @@ func KittyToolEntryPoints(root *cli.Command) {
return confirm_and_run_shebang(args)
},
})
// __render_image__
images.RenderEntryPoint(root)
// __generate_man_pages__
root.AddSubCommand(&cli.Command{
Name: "__generate_man_pages__",